
After years of web development, do you still find yourself mixing up for...in and for...of loops in JavaScript? If you’re tired of Googling every time you need to loop through a collection, I’ve got a handy memory trick to help you effortlessly remember when to use each loop statement.