Domanda di colloquio di Genesys

Write a map function, given an array and a function as parameters.

Risposta di colloquio

Anonimo

21 feb 2020

Applied the function to each element of the array, in place. Was suggested to create a return a copy instead and I did that. Honestly should've done that initially.