Published onSeptember 22, 2020Tricky use case of Array.prototype.map in JS#javascript#array#map#functional-programming#use-casesIf you are familiar with functional programming, Array.prototype.map must be a function that you work with every day. We encountered a tricky use case of it at Cốc Cốc recently, it took me a while to figure out, and here's the answer...