Remove octal number literals
Closed this issue · 2 comments
robamler commented
Apparently, these are deprecated.
robamler commented
Actually, they're not, but should be preceded with "0o" rather than just "0". However, there are also binary literals ("0b..."), which are better here.
See https://people.mozilla.org/~jorendorff/es6-draft.html#sec-literals-numeric-literals
robamler commented
Above link was a draft for ES6. In current version, ECMA Script 5.1, neither binary nor octal literals are defined. Only decimal and hex literals are allowed, see http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf