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.
Last note: By the series of tutorials I do not follow the other books or web materials, but all by my understanding of the knowledge of the step-by-step writing. Thought is also I write over and over again. 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
Cond......
Understand JavaScript prototypes and scope series-Catalog "Serial ..."