下列JavaScript保留字應(yīng)該避免在屬性名中使用
下面的但在在JavaScript語言中被保留,不能作為在點(diǎn)訪問符中使用。這份名單代表此時(shí)的最佳關(guān)鍵字的知識(shí);列表可能會(huì)改變或根據(jù)您的特定的執(zhí)行環(huán)境更改。
下面是JavaScript語言中的保留字,且不能在點(diǎn)訪問符中使用。這份清單集合了當(dāng)前最新的關(guān)鍵字,該清單可能會(huì)根據(jù)具體的執(zhí)行環(huán)境而有所變更或改變。
abstract
boolean break byte
case catch char class const continue
debugger default delete do double
else enum export extends
false final finally float for function
goto
if implements import in instanceof int interface
let long
native new null
package private protected public
return
short static super switch synchronized
this throw throws transient true try typeof
var volatile void
while with
yield
除了特別說明,該頁面的內(nèi)容均由共同創(chuàng)作協(xié)議(CC BY 3.0)授權(quán)許可,示例代碼均由Apache 2.0許可證授權(quán)許可)
更多建議: