The JavaScript object is a collection of key-value pairs, similar to a map, dictionary, or hash-table in other programming languages. Anything that is not a JS primitive is an Object.

  • An Object is a collection of properties.
  • Property is a key-value pair that contains a name and a value.
  • Property Name is a unique value that can be coerced to a string that points to a value.
  • Property Value can be any value, including other objects or functions, that associated with the name/key.

#javascript #javascript object #programming

Everything you need to know about the JavaScript Object
25.50 GEEK