are semicolons required in javascript
xxxxxxxxxx
/*
On the web, you might see examples without semicolons.
Ending statements with semicolon is not required, but highly recommended.
*/
xxxxxxxxxx
// 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