add query for detecting ignored calls to Array.prototype.concat

This commit is contained in:
Erik Krogh Kristensen
2019-10-10 16:20:27 +02:00
parent 4b27b2ac05
commit 5489a80372
8 changed files with 113 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
var arr = [1,2,3];
function extend(others) {
arr.concat(others);
}

View File

@@ -0,0 +1,5 @@
var arr = [1,2,3];
function extend(others) {
arr = arr.concat(others);
}