Description
This tutorial revolves around some basic JavaScript syntax, directly explaining the two most difficult parts of JavaScript, and the two most significant differences from other mainstream object-oriented languages- prototypes and scopes, certainly without the prototype chain and scope chain. Help you uncover the most mysterious veil of JavaScript.
Why do we have to talk about these two points of knowledge?
This is my experience in learning JavaScript for so many years, the most difficult to understand, the most common mistakes in the place, learning these two points of knowledge, will give you a deeper understanding of JavaScript, at least understand the prototype and scope, you can no longer be a JavaScript novice. In addition, these two aspects of JavaScript and other languages are different places, learning such a design, can help you broaden your horizons, to help you understand the programming language design ideas. After all, you can't just keep your eyes on one language.
Not much gossip, believe the friends who run this topic, also know the importance of JavaScript prototypes and scopes.
The last note: by the series of tutorials I am not copy of other books or web materials, but all by my understanding of knowledge and step-by-step writing. The idea is that I am writing on the side of thinking. There is nothing wrong with the place, welcome correction.
Directory:
Understanding JavaScript Prototypes and Scope series (1)--Everything is an object
Understanding JavaScript Prototypes and Scope series (2)--relationships between functions and objects
Understanding JavaScript Prototypes and Scope series (3)--prototype prototypes
Understanding JavaScript Prototypes and Scope series (4)--Implicit prototypes
Understanding JavaScript Prototypes and Scope series (5)--instanceof
Understanding JavaScript Prototypes and Scope series (6)--Inheritance
Understanding JavaScript Prototypes and Scope series (7)--prototype flexibility
Understanding JavaScript Prototypes and Scope series (8)--Briefly on "execution context"
Understanding JavaScript Prototypes and Scope series (9)--Brief description of "execution context"
Understanding JavaScript Prototypes and Scope series (--this)
Understanding JavaScript Prototypes and Scope series (11)-Executing context stacks
Cond......
JavaScript Advanced article-Understanding prototypes and scopes "serial ..."