JavaScript SyntaxError â Octal literals are not allowed in strict mode
If you put an octal literal in a code block that runs on strict, the result may be SyntaxError: Octal literals are not allowed in strict mode, since they can lead to unintended actions and confusion, numbers such as 0123 should never be strictly used, to understand this error better including possib