Keywords in Javascript

M2-R5.1 · Chapter 6: JavaScript and Angular JS · 1 min read

Reserve Words (Keywords) in JavaScript

Keywords in JavaScript are a set of reserved words that cannot be used as names of functions, labels, or variables as they are already a part of the syntax of JavaScript.

Comments in JavaScript-


In Java script Single line comments start with // where as Multiline comments start with /* and end with */.
Ex-

// single line comment

 


/*Line 1 ...

Line 2....

Line 3 .....*/