This commit is contained in:
Simon Priet
2021-09-05 22:53:58 +02:00
commit 9e2991e668
17888 changed files with 1263126 additions and 0 deletions

5
node_modules/es5-ext/test/math/sign/implement.js generated vendored Normal file
View File

@@ -0,0 +1,5 @@
"use strict";
var isImplemented = require("../../../math/sign/is-implemented");
module.exports = function (a) { a(isImplemented(), true); };

3
node_modules/es5-ext/test/math/sign/index.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
"use strict";
module.exports = require("./shim");

View File

@@ -0,0 +1,3 @@
"use strict";
module.exports = function (t, a) { a(typeof t(), "boolean"); };

11
node_modules/es5-ext/test/math/sign/shim.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
"use strict";
var is = require("../../../object/is");
module.exports = function (t, a) {
a(is(t(0), +0), true, "+0");
a(is(t(-0), -0), true, "-0");
a(t({}), NaN, true, "NaN");
a(t(-234234234), -1, "Negative");
a(t(234234234), 1, "Positive");
};