archives

« Bugzilla Issues Index

#1407 — 15.7.1.1: `Number(undefined)` no longer returns NaN


See step 2 of 15.7.1.1:
> 8. If value is undefined, then let n be +0.

That means `Number(undefined)` will now return 0 instead of NaN.


Also: algorithm steps are mis-numbered


fixed in rev 15 editor's draft


resolved in rev 15, May 14, 2013 draft