The reserved words in this list cannot be used as JavaScript variables, functions, methods, or object names. Some of these words are keywords used in JavaScript; others are reserved for future use.

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
long
native
new
null
package
private
protected
public
return
short
static
super
switch
synchronized
this
throw
throws
transient
true
try
typeof
var
val
void
volatile
while
with

In addition to the above reserved words, avoid the following identifiers as names of JavaScript variables. These are names of client-side objects, methods, or properties in Netscape Navigator or Internet Explorer:

alert
all
anchor
anchors
area
array
assign
blur
button
checkbox
clearTimeout
clientInformation
close
closed
confirm
crypto
date
defaultStatus
document
element
elements
embed
embeds
escape
eval
event
fileUpload
focus
form
forms
frame
frames
frameRate
function
getClass
hidden
history
image
images
isNaN
java
JavaArray
JavaClass
JavaObject
JavaPackage
innerHeight
innerWidth
layer
layers
length
link
location
Math
mimeTypes
name
navigate
navigator
netscape
Number
Object
offscreenBuffering
onblur
onerror
onfocus
onload
onunload
open
opener
option
outerHeight
outerWidth
packages
pageXOffset
pageYOffset
parent
parseFloat
parseInt
password
pkcs11
plugin
prompt
prototype
radio
reset
screenX
screenY
scroll
secure
select
self
setTimeout
status
String
submit
sun
taint
text
textarea
top
toString
unescape
untaint
valueOf
window