變量和標識符

JavaScript中不能作爲變量名的關鍵字和保留字總結:


1、js中的關鍵字:


break case catch continue default

delete do else finally for

function if in instanceof new

return switch this throw try

typeof var void while with

2、js中的保留字:


abstract boolean byte char class

const debugger double enum export

extends final float goto implements

import int interface long native

package private protected public short

static super synchronized throws transient

volatile  


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章