re: (a == 1 && a == 2 && a == 3) === true - Wait, hold on... VIEW POST

TOP OF THREAD FULL DISCUSSION
re: There is no reason to use an IIFE, certainly not one that returns anything. Since we are using a block scoped variable we can just wrap it in curly...
 

Yes, that's true!
I was thinking more along the lines of having the scope reside entirely within Object.defineProperty where I don't believe a block scope would actually work, which is why I used an IIFE.
But this is completely valid, too!

code of conduct - report abuse