Skip to Content
Get the offical eBook 🎉 (Not yet published)
Web DevelopmentLearn JavaScriptJavaScript Reserved Words

Reserved (key)words

Reserved words in programming are words that cannot be used as identifiers because they mean something or perform a certain function in that particular programming language.

Here is a list of the reserved words in JavaScript:

View on a laptop or desktop to get the optimal view

abstract
argumentsawait
boolean
break
byte
casecatch
debuggerdefaultdeletedo
enumevalexportextends
finally
float
forfunction
implementsimportininstanceof
let
long
native
new
privateprotectedpublicreturn
superswitch
synchronized
this
transient
truetrytypeof
volatile
whilewithyield

These are the reserved words in JavaScript. The ones marked with a warning sign are words that have been removed from the ECMAScript 5 and 6 standard. Even though they have been removed, you should not use them as variable names because ECMAScript 5 and 6 and not yet fully supported on all browsers.

Last updated on