Skip to product information
1 of 1

No matter how much experience you have with JavaScript, odds are you donít fully understand the language. This concise, in-depth guide takes you inside JavaScriptís this structure and object prototypes. Youíll learn how they work and why theyíre integral to behavior delegationa design pattern in which objects are linked, rather than cloned.'box-sizing: border-box; padding: 0px; margin-top: 0em; margin-bottom: 1em; margin-left: 1em; font-family: "Amazon Ember", Arial, sans-serif; font-size: small; background-color: rgb(255, 255, 255);'Like other books in the ìYou Donít Know JSî series, this and Object Prototypes dives into trickier parts of the language that many JavaScript programmers simply avoid. Armed with this knowledge, you can become a true JavaScript master.'box-sizing: border-box; padding: 0px; margin-top: 0em; margin-bottom: 1em; margin-left: 1em; font-family: "Amazon Ember", Arial, sans-serif; font-size: small; background-color: rgb(255, 255, 255);'With this book you will:
Explore how the this binding points to objects based on how the function is called
Look into the nature of JS objects and why youíd need to point to them
Learn how developers use the mixin pattern to fake classes in JS
Examine how JSís prototype mechanism forms links between objects
Learn how to move from class/inheritance design to behavior delegation
Understand how the OLOO (objects-linked-to-other-objects) coding style naturally implements behavior delegation

View full details