In an external file called from either the head or the body e.g. <script src=“abc.js”></script>
Basic Syntax
JavaScript is case-sensitive.
Statements may omit the final semi-colon but should not.
Blocks may be grouped together using curly braces { }.
JavaScript uses java-style comments: and /* */.
* JavaScript variables are case-sensitive and must begin with a letter or underscore.
* Variables are automatically declared when first used but should be explicitly declared using e.g. var a = 5;
* JavaScript uses standard C/Java operators e.g. +-*/%, ++, +=, &&, ||, !, + (concatenation).
* JavaScript uses C/Java comparators >,>=,==, !=, a?b:c. It also uses === to test equality of value and type.
==== Basic Structures ====
*