The book begins with an explanation of objects and properties:
All object instances have a property that is a secret link (aka proto) to the constructor function that created the instance. This secret link can be leveraged to grab the constructor function, specifically the prototype property of the instance’s constructor function.
hasOwnProperty to correctly enumerate over objects are also explained. In fact, I really couldn’t find anything missing. If you’ve ever wondered why JSLint is complaining about something, the root cause is likely to be explained somewhere in this book.
The author even references modern libraries like Underscore.js:
It’s also encouraging to see solid coverage of
call are only covered briefly here, with more thorough coverage in chapter 6. The split between explaining
Function felt slightly awkward, which is one of the reasons why this book works better taken as a whole rather than discrete chunks.