CodeBeginner

Object

Also known as JavaScript object · objects

A JavaScript value that groups properties identified by string or symbol keys, often combining data and behavior.

In the real world

const user = { name: 'Ada', greet() { return 'Hi'; } }; groups properties and a method.

Related

Go a little deeper