This commit is contained in:
2021-11-21 11:18:28 +01:00
parent 7a358eb836
commit 230b10b2a3
9339 changed files with 892519 additions and 62 deletions

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

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

3
node_modules/es5-ext/test/math/clz32/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"); };

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

@@ -0,0 +1,12 @@
"use strict";
module.exports = function (t, a) {
a(t(1), 31, "1");
a(t(1000), 22, "1000");
a(t(), 32, "No arguments");
a(t(Infinity), 32, "Infinity");
a(t(-Infinity), 32, "-Infinity");
a(t("foo"), 32, "String");
a(t(true), 31, "Boolean");
a(t(3.5), 30, "Float");
};