Learn how to build and design websites with our tutorials.

Javascript Reserved Words

Javascript has a number of reserved words that cannot be used as identifiers (variable names). Reserved words in Javascript are part of the Javascript language and each reserved word has a specific meaning. Using a reserved word will cause an error when the script attempts to run.

Some of the Javascript reserved words are not currently part of the Javascript language, but are reserved for future use. An asterisk (*) appears to the right of the Javascript words that are reserved for future in the list below. The Javascript words that reserved for future use

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