JavaScript术语表
JavaScript语言精髓与编程实践(第3版)
作者: 周爱民
语法或词法分析
标识符 identifier
标签 label
关键字 keyword
保留字 reserved words
符号 symbol
标记,记号 token
数据类型 types | data types
无类型的 untype
变量 variable
声明 declare
赋值 assignment
解构赋值 destructuring assignment
未赋值变量 unassigned variable
未声明变量 undeclared variable
值 values
常量,常数,常值 constant | const
直接量,字面量 literal | literal constant | manifest constant
指数计数法,科学计数法 exponential notation
定点计数法 fixed-point notation
代码逻辑行、物理行 logical line | physical line
语句 statements
语句块 statement block
简单语句 simple statements
单行语句 single line statements
复合语句 compound statements
条件 condition
表达式 expression
一元运算符,单目运算符 unary operator
二元运算符 binary operator
三元运算符 ternary operator
运算符优先级 precedence
运算符,操作符,操作数 operator
数据结构
数组 array
关联数组 associative array
索引数组 index array
多维数组 multidimensional array
动态数组 dynamic array
变长数组 variable length array
元素 element
索引,下标 index
字符串 string
Unicode字符串 Unicode string
转义序列 escape sequence
编程范型(面向对象、函数式等)
编程范型 programming paradigm
多范型语言 multi-paradigm language
动态绑定 dynamic bind
作用域 scope
引用 reference
域,成员,字段 member | field
类 class
继承 inheritance
多态 polymorphism
封装 encapsulation
类方法 class method
虚方法 virtual method
纯虚方法,抽象方法 abstract method
覆盖 override
对象 object
实例 instance
原型 prototype
构造器,构造函数 constructor | constructor function
属性 property
方法 method
用户定义属性 user-defined properties
预定义属性 pre-defined properties
内部(内建)属性/方法/成员 build-in properties/method/member
事件 event
事件句柄,事件处理器,事件处理代码 event handle
特性,性质,属性 attribute
特性 feature
函数 function
参数 arguments
外部局部变量 external local variable | upvalue
lambda运算 λ演算 | lambda calculus
闭包 closure
编译、执行及其他
解释器 interpreter
运行期 runtime
宿主 host
上下文 context
环境 environment
执行环境,执行上下文 execution context
异常 exception
错误 error
正则表达式 regular expression
全局 global
局部 local
全局对象 global object
全局变量 global variable
局部变量 local variable