Appendix C. ECMAScript Reserved Keywords

All of the words in the following table are reserved for use by the ECMAScript interpreter built into scriptable browsers. You may not use these words as identifiers for variables, functions, or objects. A majority of these words are already used by current implementations of JavaScript, while others may become part of the vocabulary in future versions:

abstract
boolean
break
byte
case
catch
char
class
const
continue
debugger
default
delete
do
double
else
enum
export
extends
final
finally
float
for
function
goto
if
implements
import
in
instanceof
int
interface
long
native
new
package
private
protected
public
return
short
static
super
switch
synchronized
this
throw
throws
transient
try
typeof
var
void
volatile
while
with

Get JavaScript & DHTML Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.