Skip to content
This repository has been archived by the owner on Oct 10, 2019. It is now read-only.

Normative: Permit BigInt(large Number) #138

Merged
merged 1 commit into from
Apr 12, 2018
Merged

Normative: Permit BigInt(large Number) #138

merged 1 commit into from
Apr 12, 2018

Commits on Apr 6, 2018

  1. Normative: Permit BigInt(large Number)

    Previously, the BigInt constructor used IsSafeInteger to check if a Number
    is safe to cast to a BigInt without losing information. This check is
    unnecessarily conservative--it rules out large integer-valued Numbers.
    This patch switches to just check that the Number is an integer value.
    
    This patch specifies the resolution of the discussion in the March
    2018 TC39 meeting.
    
    Closes #132
    littledan committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    de07d4f View commit details
    Browse the repository at this point in the history