List of keywords and reserved words in JavaScript

Keyword or Reserved words

vardeleteforletbrack
supervoidcasedostatic
functionnewswitchwhileinterface
catchelseifpackagefinally
thiswithclassenumdefault
implementsprivatethrowtiledtypeof
constexportimportprotectedreturn
truecontinueextendsin
instanceof
publictrydebuggerfalse

In JavaScript, we do not need to specify the type of the variable because it is dynamically used by the JavaScript engine.
We can use var data type. It can hold any type of data like String, Number, Boolean, etc.

Primitive Data Type Non-Primitive Data type

String Object
Number Array
Boolean RegExp
Undefine

Tagged : / / / /
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x