© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
J. SimpsonHow JavaScript Works https://doi.org/10.1007/978-1-4842-9738-4_3

3. Introduction to Objects, Arrays

Jonathon Simpson1  
(1)
Belfast, Antrim, UK
 

Now that we’ve now looked at the fundamental concepts of JavaScript, let’s move onto one of the most important data types in JavaScript, that being objects. Objects are widely used in JavaScript as a store of data. They differ from other types of data in that they are the only type of data which is mutable.

In this chapter, we’ll be covering the basics of how objects work. We’ll also be covering arrays, which are a special type of object with specific features. As we get more comfortable with objects and arrays, ...

Get How JavaScript Works: Master the Basics of JavaScript and Modern Web App Development 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.