Yes it does. NaN is an 'instance' of the Number type (even though it is 'Not a Number' ;) )
On Wed, Aug 2, 2017 at 10:18 AM, Harbs <[email protected]> wrote: > Interesting. > > I’m not sure that I realized that NaN passes that test. Does it? > > > On Aug 2, 2017, at 1:12 AM, Greg Dove <[email protected]> wrote: > > > > I agree undefined works the same as NaN for many things for example, but > it > > fails on very basic things like if (x is Number) > >
