Skip to content

Commit 9f147d5

Browse files
committed
Use new for constructing the array
1 parent 1de7e3a commit 9f147d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Control/Apply.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exports.arrayApply = function (fs) {
44
return function (xs) {
55
var l = fs.length;
66
var k = xs.length;
7-
var result = Array(l*k);
7+
var result = new Array(l*k);
88
var n = 0;
99
for (var i = 0; i < l; i++) {
1010
var f = fs[i];

0 commit comments

Comments
 (0)