Closed Bug 1609258 Opened 6 years ago Closed 6 years ago

ValueToSource should tack a 'n' suffix onto bigints

Categories

(Core :: JavaScript Engine, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: Waldo, Assigned: Waldo)

Details

Attachments

(1 file)

ValueToSource currently handles equal numbers and bigints exactly the same, so e.g. 2 and 2n typed in the shell will display "2" as the result. This is unhelpful.

Assignee: nobody → jwalden
Status: NEW → ASSIGNED
Pushed by jwalden@mit.edu: https://hg.mozilla.org/integration/autoland/rev/6d2f4c1c8e20 Tack a 'n' onto the end of the ValueToSource result for bigints. r=evilpie
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: