Skip to content
Related Articles

Related Articles

JavaScript | Reserved Words

Improve Article
Save Article
  • Last Updated : 27 Mar, 2019
Improve Article
Save Article


In JavaScript you cannot use these reserved words as variables names, labels names or function names.

Reserved Words:

abstractargumentsbooleanbreakbyte
casecatchcharconstcontinue
debuggerdefaultdeletedodouble
elseevalfalsefinalfinally
floatforfunctiongotoif
implementsininstanceofintinterface
longnativenewnullpackage
privateprotectedpublicreturnshort
staticswitchsynchronizedthisthrow
throwstransienttruetrytypeof
varvoidvolatilewhilewith
yield

Reserved Words added in ECMAScript 5 and 6.

awaitsclassenumexport
extendsimportletsuper

Removed Reserved Words

Following reserved words has been removed from ECMAScript 5 and 6.

abstractbooleanbytechar
doublefinalfloatgoto
intlongnativeshort
synchronizedthrowstransientvolatile
My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!