19

A Deeper Look at Objects

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 “What Are Objects?” section of Chapter 12, “Of Pizzas, Types, Primitives, and Objects,” you 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. This chapter will make that earlier chapter seem like the tip of a ginormous iceberg.

images

In this chapter, we are going look at objects again, but in greater detail, and ...

Get Javascript Absolute Beginner's Guide, 3rd 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.