this
关键字 (The this
Keyword)new
运算符 (The new
Operator)super
关键字 (The super
Keyword)? :
) (Conditional Operator ( ? :
)),
)if
语句 (The if
Statement)do
-while
语句 (The do
-while
Statement)while
语句 (The while
Statement)for
语句 (The for
Statement)for
-in
、for
-of
与 for
-await
-of
语句continue
语句 (The continue
Statement)break
语句 (The break
Statement)return
语句 (The return
Statement)with
语句 (The with
Statement)switch
语句 (The switch
Statement)throw
语句 (The throw
Statement)try
语句 (The try
Statement)debugger
语句 (The debugger
Statement)?
u
m
/
p
1-9
0
`
实现必须在相关 ECMAScript 语言结构被求值时报告大多数错误。early error(早期错误) 是指可在包含该错误的 eval
时报告,并阻止 eval 代码的求值。所有不是早期错误的错误都是运行时错误。
实现必须将本规范各 “Static Semantics: Early Errors” 子小节中列出的条件的任何出现作为早期错误报告。
实现不得将其他类型的错误视为早期错误,即使编译器可以证明某个结构在任何情况下都无法无错执行。此类情形下实现可以发出早期警告,但不应在相关结构真正执行之前报告该错误。
实现应按规范报告所有错误,但以下情况除外:
eval
、使用正则字面量,或使用 Function 或 RegExp 构造器)在遇到实现不得以下述方式扩展本规范:
bind
方法创建的函数亦不得具有这些自身属性。
toLocaleString
的那些)之行为,除 ECMA-402 规定外,不得被扩展。
:
可以紧随由