Consider changing Number.parseInt and Number.parseFloat · rwaldron/tc39-notes

https://github.com/rwaldron/tc39-notes/blob/master/es8/2017-07/jul-26.md#13iib-consider-changing-numberparseint-and-numberparsefloat

Brendan Eich consider changing Number.parseInt and Number.parseFloat to avoid converting undefined, null, and NaN to string, returning NaN for those three input values.




blog comments powered by Disqus