Skip to content

Commit e8ebe39

Browse files
committed
Simplify fill
1 parent 85dcb57 commit e8ebe39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Data/ArrayBuffer/Typed.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ exports.someImpl = function someImpl (a,p) {
7373
};
7474

7575

76-
exports.fillImpl = function fillImpl (a,x,ms,me) {
77-
return me === null ? (ms === null ? a.fill(x) : a.fill(x,ms)) : a.fill(x,ms,me);
76+
exports.fillImpl = function fillImpl (a,x,s,e) {
77+
return a.fill(x,s,e);
7878
};
7979

8080

0 commit comments

Comments
 (0)