December 2019
Beginner
464 pages
10h 31m
English
In This Chapter
• Understand at a deeper level how Objects work
• Learn to create custom objects
• Demystify the prototype property
• Do some inheriting
In the Introduction to Objects schtuff in Chapter 11, “Of Pizzas, Types, Primitives, and Objects,” we received a very high-level overview of what objects in JavaScript are and how to think about them. That was good enough to cover the basics and some of the built-in types, but we need to go a little deeper. In this chapter, we will make that earlier chapter seem like the tip of a ginormous iceberg:
What we are going to do here is have a re-look at objects in ...