Sobes.tech
Junior — Senior

Simulating Array.map using Array.reduce

livecode

Task condition

Write a function that reproduces the behavior of the built-in Array.prototype.map method, using only the reduce method to transform array elements.