Javascript
Javascript Reserved Keywords
📣 Sponsor
When writing code, a reserved keyword is one you can't use as the name of a variable or identifier. As of 2022, this is the full list of valid reserved keywords in Javascript.
All Javascript Reserved Keywords
The below list cannot be used as variable names, as they are reserved keywords. Most of them have current functionality in Javascript. Some do not, but they are words which may have some sort of functionality in the future. Avoid using these words in variable names.
awaitbreakcasecatchclassconstcontinuedebuggerdefaultdeletedoelseenumexportextendsfalsefinallyforfunctionifimportininstanceofnewnullreturnsuperswitchthisthrowtruetrytypeofvarvoidwhilewithyield
Last Updated 1645053071431
More Tips and Tricks for Javascript
- Making your own Express Middleware
- Javascript Arrays - How to Remove Duplicate Elements
- Javascript Variables
- Javascript Shallow Copies - what is a Shallow Copy?
- How to get the last element of an Array in Javascript
- Javascript Functions
- Updating Object Key Values with Javascript
- How does the Javascript logical OR (||) operator work?
- Checking if a value is a number in Javascript with isNaN()
- How to install nvm, the Node Version Manager