Skip to content

CS2 Discussion: Output: CS Octal/Binary Literal as ES2015? #4941

@coffeescriptbot

Description

@coffeescriptbot

From @Inve1951 on 2016-09-25 11:03

I'm bringing this up because nobody did so yet.

Numers in CS like 0b1010 and 0o31 currently compile to 0xa and 0x19 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions