Top

Learn about Objects in JavaScript

In JavaScript, most things are objects, from core JavaScript features like arrays to the browser APIs built on top of JavaScript.
You can even create your own objects to encapsulate related functions and variables into efficient packages and act as handy data containers.

JavaScript object basics

Reference