3 ms·
Ah, I see. Thanks. Interesting. The minifier must be smart enough to know that you're not doing anything with the return value, since the two aren't equivalent
by braindongle 9y ago
Ah, I see. Thanks. Interesting. The minifier must be smart enough to know that you're not doing anything with the return value, since the two aren't equivalent in that respect.
false && console.log('foo'); //false
if(false){ console.log('foo') }; //undefined