Javascript基礎(chǔ)教程之關(guān)鍵字和保留字匯總
關(guān)鍵字不可以作為變量名或者函數(shù)名
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
保留字是為以后關(guān)鍵字而準(zhǔn)備的
也不可以用來變量或者函數(shù)名。
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
在定義變量時(shí),不要使用關(guān)鍵字或者保留字,否則會(huì)出現(xiàn)一些莫名其妙的情況。
- javascript 獲取所有id中包含某關(guān)鍵字的控件的實(shí)現(xiàn)代碼
- JQuery+JS實(shí)現(xiàn)仿百度搜索結(jié)果中關(guān)鍵字變色效果
- js 關(guān)鍵詞高亮(根據(jù)ID/tag高亮關(guān)鍵字)案例介紹
- 調(diào)試Javascript代碼(瀏覽器F12及VS中debugger關(guān)鍵字)
- JS關(guān)鍵字變色實(shí)現(xiàn)思路及代碼
- js中的this關(guān)鍵字詳解
- 用JS將搜索的關(guān)鍵字高亮顯示實(shí)現(xiàn)代碼
- JS關(guān)鍵字球狀旋轉(zhuǎn)效果的實(shí)例代碼
- Javascript中的關(guān)鍵字和保留字整理
- JavaScript保留關(guān)鍵字匯總
相關(guān)文章
Javascript操作dom對(duì)象之select全面解析
下面小編就為大家?guī)硪黄狫avascript操作dom對(duì)象之select全面解析。小編覺得挺不錯(cuò)的,現(xiàn)在就分享給大家,也給大家做個(gè)參考。一起跟隨小編過來看看吧2017-04-04

Array.slice()與Array.splice()的返回值類型

JavaScript學(xué)習(xí)筆記之內(nèi)置對(duì)象

Javascript實(shí)例項(xiàng)目放大鏡特效的實(shí)現(xiàn)流程

簡(jiǎn)介JavaScript中的unshift()方法的使用

JavaScript Math.ceil 方法(對(duì)數(shù)值向上取整)