3 ms·JavaScript variable scoping and its pitfalls5 points by fogus 16y agohdragomir 16y agoGood list of common JS scoping problems.