Closed edemaine closed 1 week ago
This example came up in Discord: (where 1 and 2 are placeholders for more complex expressions)
1
2
if 1 for every x in y then 2
Without this PR:
if( 1) (()=>{let results=true;for (const x in y)if (!(void 0)) {results = false; break};;return results})()( 2)
With this PR:
if((()=>{let results=true;for (const x in y) { if (!( 1)) {results = false; break} }return results})()) { 2 }
This example came up in Discord: (where
1
and2
are placeholders for more complex expressions)Without this PR:
With this PR: