Deep understanding of JavaScript prototypes and closures (end)

Source: Internet
Author: User

Description

This tutorial bypassed 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 closures, and of course, the prototype chain and the 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:

Deep understanding of JavaScript prototypes and Closures (1)--Everything is an object

Deep understanding of JavaScript prototypes and Closures (2)--relationships between functions and objects

In-depth understanding of JavaScript prototypes and Closures (3)--prototype prototypes

In-depth understanding of JavaScript prototypes and Closures (4)-Implicit prototypes

Deep understanding of JavaScript prototypes and Closures (5)--instanceof

In-depth understanding of JavaScript prototypes and closures (6)-Inheritance

In-depth understanding of JavaScript prototypes and closures (7)-Prototyping flexibility

In-depth understanding of JavaScript prototypes and closures (8)--A brief description of the execution context

In-depth understanding of JavaScript prototypes and closures (9)--Brief description of "execution context"

Deep understanding of JavaScript prototypes and closures (--this)

In-depth understanding of JavaScript prototypes and closures (11)-Execution context Stacks

In-depth understanding of JavaScript prototypes and Closures (12)-Introduction to Scope

Deep understanding of JavaScript prototypes and closures (13)-Scope and context

In-depth understanding of JavaScript prototypes and Closures (14)-from "Free variables" to "Scope chains"

In-depth understanding of JavaScript prototypes and Closures (15)--closures

In-depth understanding of JavaScript prototypes and Closures (16)-End

Post-Supplement:

In-depth understanding of JavaScript prototypes and Closures (17)--Complement this

In-depth understanding of JavaScript prototypes and Closures (18)-Supplement: Context and scope relationships

Deep understanding of JavaScript prototypes and closures (end)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.