JavaScript object

A value that groups named properties, such as { id: 'alpha' }, and is passed around by reference.

In more detail

Objects are what the garbage collector tracks and frees. Two variables can point to the same object, so the object lives as long as any reference to it.

Related terms

Taught in

References