Javascript – Unexpected behavior with `map` and `apply` / `call`
I was just experimenting around with the Function.prototype.call and Function.prototype.apply function, when I stumbled upon an error that I didn't understand: I wanted to trim all the elements in an array, Naturally, I would have written: const arr = ['…