Summary
This chapter examined both the data types and the containers for data in JavaScript. An understanding of data types and variables in JavaScript is essential to working effectively with JavaScript because changes in the properties and objects that make up JavaScript and HTML are dependent on controlling the values in variables. Because the values are the data, all of the work with objects depends on understanding how to use the data types and their containers, variables.
In addition, array objects, along with the property and methods associated with arrays, were introduced. Each element of an array has variable-like characteristics, but an array is a very different breed of animal. With an object, the web designer can use the built-in ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access