Objects

Objects have existed in JavaScript for a long time. They form the backbone of JavaScript, as almost every data type can be associated with objects. (new String(), new Number(), new Boolean(), and so on). You'll often find yourself working and manipulating objects all the time when working with web applications or JavaScript in general.

ES6, ES2016 (ES7), and ES2017 (ES8) introduce a lot of new properties and methods associated with objects. Let us take a look at them.

Get Learn ECMAScript - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.