Skip to content

Commit 8517907

Browse files
committed
adapt code for eslint@5
1 parent 0c7e4bd commit 8517907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jasmine/assets/custom_matchers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var matchers = {
3434
var i;
3535
if(Array.isArray(x)) {
3636
for(i = 0; i < x.length; i++) {
37-
x[i] = x[i];
37+
if(x[i] === undefined) x[i] = undefined;
3838
}
3939
} else if(isPlainObject(x)) {
4040
var keys = Object.keys(x);

0 commit comments

Comments
 (0)