Update dependencies

This commit is contained in:
Jay Trees 2022-03-14 16:40:45 +01:00
parent 7bf6747ebd
commit 8308faa51d
1325 changed files with 2986 additions and 8266 deletions

View file

@ -4,7 +4,7 @@ var toPosInt = require("../number/to-pos-integer")
, value = require("../object/valid-value")
, slice = Array.prototype.slice;
module.exports = function (length/*, …fill*/) {
module.exports = function (length /*, …fill*/) {
var arr, currentLength;
length = toPosInt(value(length));
if (length === 0) return [];