Javascript Tips #1 : Semicolon In Javascript
Note down following thing -
- Semicolon is used to specify End of line in JavaScript.
- JavaScript executes your code in such a way that even if you forget a semicolon at the end of the line then your output will not be affected.
- Use Semicolon to separate two independent pieces of Code.
var varA = 5; var varB = 7;