js semicolon

JavaScript
//When to use semicolons in java script. Look at each line!
console.log("USE ; IN YOUR CODE!"); //SEMICOLON NEEDED
function semiHelp() { //SEMICOLON NOT NEEDED
  var i = 0; //SEMICOLON NEEDED
  console.log("Use semicolons when you end all lines of code, though...");
  console.log("There not required to be used at the start of brackets...");
  console.log("And there not needed in comments.");
}; //SEMICOLON NEEDED
//Hope this has been helpful!
Source

Also in JavaScript: