JavaScript for WordPress Developers: Getting Started With Objects

Objects are one of the most important and most powerful features of JavaScript and many built-in features use objects natively. Essentially, an object is a collection of properties, and a property consists of a key and a value. In this sense, objects in JavaScript are akin to associative arrays in PHP but the similarities end there.

Source: JavaScript for WordPress Developers: Getting Started With Objects