Opal-Estate-Pro/node_modules/es5-ext/test/number/is-nan/shim.js
2019-09-13 11:27:52 +07:00

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");
};