ES6 introduced its own for..of loops as a way to loop through iterable objects
Glimmer.js: What’s the Deal with TypeScript?
Tom Dale

Is it wrong to admit I completely forgot about for…of in ES6? I always use Object.keys(obj).forEach(...) or just iterable.forEach . I would have to go lookup the spec to understand if there’s a practical reason to use for...of instead!

Show your support

Clapping shows how much you appreciated Thom Nichols’s story.