130 likes | 274 Vues
Dive into the core concepts of JavaScript through this comprehensive overview. Explore essential topics such as variables and their types, the intricacies of scope including lexical scoping, and the importance of closures in managing functions and contexts. Discover how namespaces organize code and learn about the structure of classes, including member variables, functions, and inheritance. This guide aims to enhance your understanding of JavaScript's execution order and core functionality, making it a valuable resource for both beginners and experienced developers.
E N D
列表 • 变量 • 作用域 • Closure • Namespace • this • 类 • 执行顺序
变量 • 基本变量 • 引用对象 • 代码 • variable.html
作用域 • 词法作用域-在定义的时候的上下文 • 代码 • closure.html • ifm_callobject.html • lex.html
作用域 • 函数申明 = 函数类型变量 +Scope Chain • call Object --形参、变量和函数声明的结果 • [[scope]] • 代码 • closure.html • callobject.html
closure • 代码执行的上下文
namespace • 代码的执行空间 • 代码 • Namespace.html
类--基本 • 类定义 • 成员变量 • 成员函数 • 静态属性 • 私有属性 • New 关键字动作 • this
类--基本 • 代码 • class.html • a_this.html
类—根本 • Prototype • __proto__
类 • 继承 • Extend • Newfunction+apply
执行顺序 • 变量 • 函数 • 类