
The real value, in my opinion, comes from the Object prototype section. This `this` portion clearly outlines the criteria and priority JS engines use to determine a particular function's call site or context, which in and of itself is enlightening. In it, Kyle Simpson explains the inner workings of two of the most misunderstood and misused features of JS, `this` and Object prototypes. This book is a must, whether you are a JS newbie or have been in the programming trenches for years. The real value, in my opinion, comes from the For experienced and inexperienced alike moreįor experienced and inexperienced alike This book is a must, whether you are a JS newbie or have been in the programming trenches for years. Understand how the OLOO (objects-linked-to-other-objects) coding style naturally implements behavior delegation.
#YOU DONT KNOW JS PDF DOWNLOAD HOW TO#
Learn how to move from class/inheritance design to behavior delegation Learn how developers use the mixin pattern to fake classes in JSĮxamine how JS's prototype mechanism forms links between objects Look into the nature of JS objects and why you'd need to point to them

Armed with this knowledge, you can become a true JavaScript master.Įxplore how the this binding points to objects based on how the function is called 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. You'll learn how they work and why they're integral to behavior delegation-a design pattern in which objects are linked, rather than cloned. This concise, in-depth guide takes you inside JavaScript's this structure and object prototypes.

Like other books in the "You Do No matter how much experience you have with JavaScript, odds are you don't fully understand the language. No matter how much experience you have with JavaScript, odds are you don't fully understand the language.
