I've been doing JavaScript for more than 10 years now, and I just got bitten hard by using for (const x in foo) instead of for (const x of foo). I spent forever trying to figure out why I kept getting numbers wtf lol.
This shouldn't happen jfc. And this is with TypeScript