We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a4635c8 + 5b0d974 commit b709a3cCopy full SHA for b709a3c
src/Data/Array.js
@@ -18,7 +18,7 @@ exports.range = function (start) {
18
};
19
20
21
-var replicate = function (count) {
+var replicateFill = function (count) {
22
return function (value) {
23
if (count < 1) {
24
return [];
@@ -40,7 +40,7 @@ var replicatePolyfill = function (count) {
40
41
42
// In browsers that have Array.prototype.fill we use it, as it's faster.
43
-exports.replicate = typeof Array.prototype.fill === "function" ? replicate : replicatePolyfill;
+exports.replicate = typeof Array.prototype.fill === "function" ? replicateFill : replicatePolyfill;
44
45
exports.fromFoldableImpl = (function () {
46
function Cons(head, tail) {
0 commit comments