-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CS2 Discussion: Output: CS Octal/Binary Literal as ES2015? #4941
Comments
From @JimPanic on 2016-09-25 12:50 Since that literally means less code: awesome! ;D
|
From @GeoffreyBooth on 2016-09-25 16:52 Yes, this makes sense. |
From @JimPanic on 2016-09-26 11:08 I submitted a PR to the |
From @Inve1951 on 2016-09-25 11:03
I'm bringing this up because nobody did so yet.
Numers in CS like
0b1010
and0o31
currently compile to0xa
and0x19
respectively.Doing that conversion during compilation is no longer neccessary since those literals are now natively supported in JS.
Omitting that conversion and outputting as-is could slightly increase the ouput's readability or reveal intention.
The text was updated successfully, but these errors were encountered: