At the last TC39 meeting we discussed the addition of the following
items[0]:

Number.MAX_SAFE_INTEGER = (2^53)-1

Number.isInteger
  - Infinity => false
  - NaN => false
  - value !== truncated value => false
  - -0 => true

Number.isSafeInteger
  - -0 => true


This resolution of record doesn't include a consensus on these extensions
as defined, but IIRC there was consensus on Mark's proposal. Jeff Walden
noted[1] that there was no clear resolution and I apologize for this
oversight.

Rick

[0]
https://github.com/rwaldron/tc39-notes/blob/master/es6/2013-07/july-25.md#59-semantics-and-bounds-of-numberisinteger-and-numbermax_integer

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=885798#c12
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to