Infinity
tomm1996 opened this issue · 1 comments
tomm1996 commented
Consider changing Number.parseInt and Number.parseFloat to avoid converting undefined, null, and NaN to string, returning NaN for those three input values.
While you're at it, Infinity
should be considered aswell.
parseInt(Infinity, 36)
>1461559270678
ljharb commented
tc39/ecma262#972 (comment) Is a better place and repo to discuss specific spec issues (when this proposal has a repo, that will be the best place)