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

13
node_modules/es5-ext/math/trunc/shim.js generated vendored Normal file
View File

@@ -0,0 +1,13 @@
"use strict";
var floor = Math.floor;
module.exports = function (value) {
if (isNaN(value)) return NaN;
value = Number(value);
if (value === 0) return value;
if (value === Infinity) return Infinity;
if (value === -Infinity) return -Infinity;
if (value > 0) return floor(value);
return -floor(-value);
};