mirror of
https://github.com/github/codeql.git
synced 2026-05-03 12:45:27 +02:00
JS: Update OK-style comments to $-style
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
var arr = [1,2,3];
|
||||
|
||||
arr.concat([1,2,3]); // NOT OK!
|
||||
arr.concat([1,2,3]); // $ Alert
|
||||
|
||||
arr.concat(arr); // NOT OK!
|
||||
arr.concat(arr); // $ Alert
|
||||
|
||||
console.log(arr.concat([1,2,3]));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user