Skip to content
This repository was archived by the owner on Feb 19, 2018. It is now read-only.
This repository was archived by the owner on Feb 19, 2018. It is now read-only.

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

@Inve1951

Description

@Inve1951

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions