lepu-test-platform-web/node_modules/es5-ext/test/number/is-nan/shim.js

8 lines
138 B
JavaScript

"use strict";
module.exports = function (t, a) {
a(t(2), false, "Number");
a(t({}), false, "Not numeric");
a(t(NaN), true, "NaN");
};