by samwillis · 4y ago · 0 comments
Not only is this an old post published just after DO lunched - but it apparently was updated before it was published…
Anyone who was new to JS in the last five years is going to see the older syntax in this post and be like “what ‘prototype’? Why aren’t they using ‘let’ and ‘const’? Why aren’t they using forEach to loop through that array? Why isn’t this in TypeScript?”…
https://leanylabs.com/blog/js-forEach-map-reduce-vs-for-for_...