关键字,保留字

关键字26

break

case catch continue 

debugger default delete do

else

finally for function 

if in instance 

new

return

switch

this throw try typeof

var void

while with

保留字

abstract boolean byte

char class const

double

enum export extends

final float

goto

implements import int interface

long

native

package private protected public

short static super synchronized

throws transient

volatile

在JavaScript引擎中使用关键字做标识符会导致"Identifier Expected"错误

猜你喜欢

转载自www.cnblogs.com/liyunda/p/9843195.html