that’s great! Never heard of the for-of loop. All these years of programming…
Rick Medved
11

for...of is part of the ES6 (/2015) standard here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...of

According to this chart, all modern browsers support it for the most part.

https://kangax.github.io/compat-table/es6/#test-for..of_loops

Thanks for reading!

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.