You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 25, 2022. It is now read-only.
https://github.com/tc39/proposal-numeric-separator#octal-literal mentions that separators in legacy octal integer literals (e.g. 01234567) are not supported, but it fails to mention that the proposal does support separators in (non-legacy) octal integer literals, e.g. 0o123456, and it doesn’t give an example nor does it motivate the use case.
Can this be clarified + an example be added please? I’m struggling to think of a use case for separators in octal integer literals. Where would it make sense to even put the separators?
https://github.com/tc39/proposal-numeric-separator#octal-literal mentions that separators in legacy octal integer literals (e.g.
01234567) are not supported, but it fails to mention that the proposal does support separators in (non-legacy) octal integer literals, e.g.0o123456, and it doesn’t give an example nor does it motivate the use case.Can this be clarified + an example be added please? I’m struggling to think of a use case for separators in octal integer literals. Where would it make sense to even put the separators?