DEV Community

Discussion on: 🤔Pop Quiz! Which of these is an infinite loop?

davjvo profile image
Davmi Jose Valdez Ogando

Great exercise for teaching the importance of scope to new developers. Great one

shiling profile image
Shi Ling Author

Yeah, as a senior dev, I forgot how confusing scoping in Javascript was in the beginning. It was a good exercise for me to find out the common gaps for JS beginners.