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.
purs bundle
1 parent d81e971 commit 5b0d974Copy full SHA for 5b0d974
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