-
Notifications
You must be signed in to change notification settings - Fork 4
CS2 Discussion: Output: CS Octal/Binary Literal as ES2015? #45
Comments
Since that literally means less code: awesome! ;D
|
Yes, this makes sense. |
I submitted a PR to the |
Migrated to jashkenas/coffeescript#4941 |
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: