Basis of Javascript :

* Javascript lines end with a semicolon.
* Always put the text within " ".
* Capital letters are different from lowercase letters.
* Comments can be : // - for single line comment and    /* */ - for multiline comments

Variables

Datatype

Operators

After editing Click here:
Output: