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