Skip to content

Commit b12cae3

Browse files
authored
Remove moot check (#6)
1 parent 3529bc9 commit b12cae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default function filledArray(fillValue, count) {
1111
}
1212

1313
for (let index = 0; index < count; index++) {
14-
returnValue[index] = isFunction ? fillValue(index, count, returnValue) : fillValue;
14+
returnValue[index] = fillValue(index, count, returnValue);
1515
}
1616

1717
return returnValue;

0 commit comments

Comments
 (0)