Tell us what’s happening:
I have no idea where to start with this exercise. Can anyone offer any ideas?
Your code so far
function mutation(arr) {
const newArr = arr.map(item => item.toLowerCase());
console.log(arr);
return newArr;
}
mutation(["Hello", "Hey"]);
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36
.
Challenge: Mutations
Link to the challenge: