re: How to loop through object in JavaScript(es6) VIEW POST

TOP OF THREAD FULL DISCUSSION
re: A common misconception among beginners is that you have to use the let keyword in a for ... in loop because the variable changes with each iteratio...
 

Nice little tip that totally makes sense, I always assumed it was outside scope because, well, that's how I've always seen it written!
But it's nice to finally see the misconception cleared up.

code of conduct - report abuse