mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
JS: fix typo
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
let key = "$" + name;
|
||||
obj[key](); // NOT OK
|
||||
if (typeof obj[key] === 'function')
|
||||
obj[key](); // OK - but stil flagged
|
||||
obj[key](); // OK - but still flagged
|
||||
|
||||
if (typeof fn === 'function') {
|
||||
fn.apply(obj); // OK
|
||||
|
||||
Reference in New Issue
Block a user