Skip to content

Commit 92cebea

Browse files
committed
update tests to include empty reciever case
1 parent c6f5319 commit 92cebea

File tree

1 file changed

+3
-1
lines changed
  • javascript/ql/test/query-tests/Statements/IgnoreArrayResult

1 file changed

+3
-1
lines changed

javascript/ql/test/query-tests/Statements/IgnoreArrayResult/tst.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ arr.concat(arr); // NOT OK!
66

77
console.log(arr.concat([1,2,3]));
88

9-
({concat: Array.prototype.concat}.concat(arr));
9+
({concat: Array.prototype.concat}.concat(arr));
10+
11+
[].concat([1,2,3]);

0 commit comments

Comments
 (0)