Made isNaN a local function.

I guess, it was intended not to export the isNaN() function.