We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c7e4bd commit 8517907Copy full SHA for 8517907
test/jasmine/assets/custom_matchers.js
@@ -34,7 +34,7 @@ var matchers = {
34
var i;
35
if(Array.isArray(x)) {
36
for(i = 0; i < x.length; i++) {
37
- x[i] = x[i];
+ if(x[i] === undefined) x[i] = undefined;
38
}
39
} else if(isPlainObject(x)) {
40
var keys = Object.keys(x);
0 commit comments