DEV Community

Discussion on: JavaScript/Typescript Tips compilation 2021🚀

 
jamesthomson profile image
James Thomson

For sure! Not much point in using for...of in this use case when a for will do just fine, but I'd also never do a for...of with arr.entries() so there's that too 😂