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
- Creating and Generating UUIDs with Javascript
- Javascript Math Tutorial: How to do Math in Javascript
- Sharing Screens with the New Javascript Screen Capture API
- How to remove a specific item from an array
- Javascript Types
- How to do Everything with Javascript Arrays
- Javascript Errors
- How fetch works in Javascript
- How to fix 'Uncaught SyntaxError: Cannot use import statement outside a module'
- Javascript Variables