Are semicolons required at the end of a statement?
Explicitly providing semicolons at the end of statements is usually not required, but recommended to prevent bugs in certain edge cases.
What is "strict mode", and how to enable it?
// write this as the first line to enable strict mode for the whole script: "use strict";
Are semicolons required in strict mode?