Just a quick note about “Javascript doesn’t have basic functions like Object.map.”
Andy Maleh
2

That looks like documentation for Array.map?

The point I was trying to make is that we can do this:

[1, 2, 3].map(v => v)
=> [1, 2, 3]

But not this:

{a: 1, b: 2}.map(v => v)
=> Uncaught SyntaxError: Unexpected token :