when semicolon is used in js code example
Example: do you need a semicolon in javascript
// semicolons are optional because javascript is smart to detect where a line of code ends!!!
console.log(45)
console.log(45);
// there still the same
// semicolons are optional because javascript is smart to detect where a line of code ends!!!
console.log(45)
console.log(45);
// there still the same