Funk Soul Ninja Funk Soul Ninja - 11 months ago 46
Javascript Question

What are the differences between the map methods in ES6 and lodash?

Can one do more than the other? Should I stick with lodash or just use ES6's map method?

Answer Source

They're both compliant with the ECMA-262 spec, so they're identical. However, for portability (and perhaps performance/readability), I personally prefer the built-in ES6 map method.