This commit is contained in:
2023-08-11 10:45:20 +08:00
commit 161ca982f3
31850 changed files with 2706500 additions and 0 deletions

10
node_modules/core-js/internals/to-positive-integer.js generated vendored Normal file
View File

@ -0,0 +1,10 @@
'use strict';
var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');
var $RangeError = RangeError;
module.exports = function (it) {
var result = toIntegerOrInfinity(it);
if (result < 0) throw $RangeError("The argument can't be less than 0");
return result;
};