Objects are one of the most valuable things you can learn in Javascript. You can use them to take your programs to the next level.

An object is a collection of data – or key value pairs – which consist of variables and functions that you can access using dot notation.

Now that’s a bunch of words that might not mean anything to you at the moment, so let’s break it down.

  • What is a Key Value Pair in JavaScript?
  • What is an Object in JavaScript?
  • What is Dot Notation in JavaScript?


What is a JavaScript Object? Key Value Pairs and Dot Notation Explained
10.20 GEEK