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
分享到:
相关推荐
JavaScript圣经,覆盖最新最具权威JavaScript知识。...Appendix B: JavaScript Reserved Words. Appendix C: Answers to Tutorial Exercises. Appendix D: JavaScript and DOM Internet Resources
Build sophisticated web applications by mastering the art of Object-Oriented ...Chapter 26: Reserved Words Chapter 27: Built-In Functions Chapter 28: Built-In Objects Chapter 29: Regular Expressions
<br/>Finally, the third section contains six appendices, chock full of useful reference material: the character set, reserved words, a review of HTML, the JavaScript operators, JavaScript's ...
If you’re a programmer new to JavaScript, or even a beginner with little or no programming experience, this latest edition of practical book offers ... Reserved Words Appendix B. Operator Precedence
2.4 Identifiers and Reserved Words 23 2.5 Optional Semicolons 25 3. Types, Values, and Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.1 ...
Reserved Words Chapter 3. Data Types and Values Section 3.1. Numbers Section 3.2. Strings Section 3.3. Boolean Values Section 3.4. Functions Section 3.5. Objects Section 3.6. Arrays ...
Reserved Words Section A.5. Unicode Section A.6. typeof Section A.7. parseInt Section A.8. + Section A.9. Floating Point Section A.10. NaN Section A.11. Phony Arrays Section A.12. Falsy ...
2.4 Identifiers and Reserved Words 23 2.5 Optional Semicolons 25 3. Types, Values, and Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.1 ...
Javascript关键字(Reserved Words) Javascript关键字(Reserved Words)是指在Javascript语言中有特定含义,成为Javascript语法中一部分的那些字。 Javascript关键字是不能作为变量名和函数名使用的。使用Javascript...
序曲 JavaScript 中的快速 JavaScript 解析器。... // influences support for strict mode, the set of reserved words, and // support for getters and setter. ecmaVersion: 5, // Turn o
各种编程语言的“保留关键字”列表 在计算机语言中,保留词(也称为保留标识符)是不能用作标识符的词,例如变量,函数或标签的...JavaScript Ø 物镜 P PHP [R Ruby Ť Teradata并行传输器(PT) 伏特VHDL(PT)
All rights reserved. Email: ${mail} </#macro> <#assign mail = "jsmith@acme.com"> ? 使用import指令导入库到模板中,Freemarker会为导入的库创建新的名字空间,并可以通过import指令中指定的散列...