动作脚本保留一些单词用于该语言中的特定用途,因此不能将它们用作标识符,例如变量、函数或标签名称。下表列出了所有动作脚本关键字:
break
|
case
|
class
|
continue
|
default
|
delete
|
dynamic
|
else
|
extends
|
for
|
function
|
get
|
if
|
implements
|
import
|
in
|
instanceof
|
interface
|
intrinsic
|
new
|
private
|
public
|
return
|
set
|
static
|
switch
|
this
|
typeof
|
var
|
void
|
while
|
with
|