List of reserved words for JavaScript

Web-master / Resources / JavaScript

List of reserved words for JavaScript

Not all of them are used yet, but they can be used tomorrow, so you should not use these names when using JavaScript.

abstract
boolean
break
byte
case
catch
char
class
const
continue
default
do
double
else
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
var
void
while
with

Global variables and functions

arguments
encodeURI
Infinity
Object
String
Array
Error
isFinite
parseFloat
SyntaxError
Boolean
escape
isNaN
parseInt
TypeError
Date
eval
Math
RangeError
NaN
ReferenceError
unescape
decodeURIcomponent
Function
Number
RegExp
URIError