首页 > Web开发 > 详细

JS中的关键字和保留字

时间:2018-09-11 00:17:58      阅读:213      评论:0      收藏:0      [点我收藏+]

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        

JS中的关键字和保留字

原文:https://www.cnblogs.com/hfbk/p/9623613.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!