- Single line comments //.
- Multi-line comments /* and end with */.
Single line comments //. var x = 5; // Declare x, give it the value of 5 var y = x + 2; // Declare y, give it the value of x + 2 Multi-line comments /* you can describe what you are making in the program will not be executed */
you can describe what you are making in the program will not be executed
here to testing alternative principles.