`
ablya
  • 浏览: 26403 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
最近访客 更多访客>>
社区版块
存档分类
最新评论

JavaScript Reserved Words

阅读更多
http://www.quackit.com/javascript/javascript_reserved_words.cfm


You should avoid using these reserved words and keywords as function or variable names as JavaScript has reserved these words for its own use.

JavaScript Reserved Words 
break continue do for import new this void 
case default else function in return typeof while 
comment delete export if label switch var with 

Java Keywords (Reserved by JavaScript) 
abstract implements protected 
boolean instanceOf public 
byte int short 
char interface static 
double long synchronized 
false native throws 
final null transient 
float package true 
goto private   

ECMAScipt Reserved Words 
catch enum throw 
class extends try 
const finally   
debugger super   

Other JavaScript Keywords 
alert eval Link outerHeight scrollTo 
Anchor FileUpload location outerWidth Select 
Area find Location Packages self 
arguments focus locationbar pageXoffset setInterval 
Array Form Math pageYoffset setTimeout 
assign Frame menubar parent status 
blur frames MimeType parseFloat statusbar 
Boolean Function moveBy parseInt stop 
Button getClass moveTo Password String 
callee Hidden name personalbar Submit 
caller history NaN Plugin sun 
captureEvents History navigate print taint 
Checkbox home navigator prompt Text 
clearInterval Image Navigator prototype Textarea 
clearTimeout Infinity netscape Radio toolbar 
close innerHeight Number ref top 
closed innerWidth Object RegExp toString 
confirm isFinite onBlur releaseEvents unescape 
constructor isNan  onError Reset untaint 
Date java onFocus resizeBy unwatch 
defaultStatus JavaArray onLoad resizeTo valueOf 
document JavaClass onUnload routeEvent watch 
Document JavaObject open scroll window 
Element JavaPackage opener scrollbars Window 
escape length Option scrollBy    
分享到:
评论
1 楼 ablya 2009-09-18  
abstract (*) 
as (2) 
boolean 
break 
byte 
case 
catch 
char 
class (2) 
continue 
const (2) 
debugger (*) 
default 
delete 
do 
double 
else 
enum (*) 
export (2) 
extends (2) 
false 
 final 
finally 
float 
for 
function 
goto (*) 
if 
implements (*) 
import (2) 
in 
instanceof 
int 
interface (2) 
is (2) 
long 
namespace (2) 
native (*) 
new 
null 
package (2) 
private (2) 
 protected (*) 
public (2) 
return 
short 
static (2) 
super (2) 
switch 
synchronized (*) 
this 
throw 
throws (*) 
transient (*) 
true 
try 
typeof 
use (2) 
var 
void 
volatile (*) 
while 
with 

相关推荐

Global site tag (gtag.js) - Google Analytics