Javascript != Java

Java and Javascript are similar like Car and Carpet are similar.
Read more about Javascript contra Java

Javascript quotes

JavaScript is a cross-platform, object-oriented scripting language.

Inside a host environment (eg a web browser), JavaScript can be connected to the objects of its environment to provide programmatic control over them.


JavaScript contains a standard library of objects, such as Array, Date, and Math, and a core set of language elements such as operators, control structures, and statements.

Single line comments start with // .
Multi-line comments start with /* and end with */.