Echo JS 0.11.0

<~>
kali 786 days ago. link parent 4 points
> IIRC Array.prototype.forEach was ES5 (not 6), while Object.entries was added with ES6/ES2017.

Correct for forEach, it was ES5 (2009). As for Object.entries... uh, yes but not... It was added on ES2017 which is ES8. So... ok, you probably got a typo there :)

Anyway, it might also be interesting to note that on the other hand Object.keys() is quite older. It entered the standard at ES6, but was available in browsers -except obviously IE-  at least 3-4 years before that.

Replies

tracker1 783 days ago. link 1 point
My bad for double checking forEach and not entries... working from years old memory isn't always the greatest.  Like recalling IE5.0.0 and IE8 specific bugs (so glad I don't need to remember, but kind of sad as I've built up so much esoteric knowledge).