enhance booleans (#5022)

closes #5021
This commit is contained in:
Alex Lam S.L
2021-06-22 17:35:50 +01:00
committed by GitHub
parent e9c902b044
commit 7c5b6f349e
7 changed files with 639 additions and 30 deletions

View File

@@ -1015,7 +1015,7 @@ issue_3856: {
console.log(function() {
(function() {
var a, b;
if (a) return !!a;
if (a) return a, 1;
for (a = 0; !console;);
return 0;
})();