Ex: document.getElementById("World") = "Hello World";
There is not a compiler available in JS, so its code is translated by a web browser translator which is embedded in each browser.
Below are the Statements in JS:
- if else
- switch case
- do while
- for in
- Large support available in communities.