Sobes.tech
Junior — Senior

Creating your own version of the map function

livecode

Task condition

Develop your own implementation of the map method, reproducing its behavior without using the built-in function. It is necessary to preserve the original signature and ensure compatibility with arrays/collections similar to the standard map.

(Leave code snippets unchanged; you may rename variables if necessary.)