Inspectopedia
 
2024.3

Octal integer

Error
Code Style
New
Last modified: 03 December 2024

Reports a deprecated octal integer literal prefixed with 0 instead of 0o.

Such literals are not allowed in modern ECMAScript code, and using them in the strict mode is an error.

To force this inspection for ES5 and ES3 language levels, select the 'Warn about obsolete octal literals in ES5- code' checkbox below.