JS中的关键字和保留字


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        

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        


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM