JS: Fix whitelisting in UselessConditional

This commit is contained in:
Asger Feldthaus
2020-04-29 22:00:25 +01:00
parent 1d994b017f
commit 430bf2da8a
2 changed files with 9 additions and 1 deletions

View File

@@ -79,7 +79,7 @@ async function awaitFlow(){
function f3(x) {
(function(){
x || y // NOT OK
x || y // NOT OK, but whitelisted
});
}
f3(true);