学习自W3School(英文版):http://www.w3schools.com/js/js_statements.asp
"It is normal to add a semicolon at the end of each executable statement. ........
The semicolon is optional (according to the JavaScript standard), and the browser is supposed to interpret the end of the line as the end of the statement. Because of this you will often see examples without the semicolon at the end...........
Using semicolons makes it possible to write multiple statements on one line"
经常会在javascript的每条语句后面加上分号,但是分号是可选的,默认情况下浏览器会自动将一行的结束当成是一个语句的结束;分号可以使得一行中有多个语句。
javascript comments:
"Single line comments start with //"
"Multi line comments start with /* and end with */."