You are viewing a single comment's thread. Return to all comments →
function modifyArray(nums) { return nums.map(i => i % 2 == 0 ? i*2 : i*3); }
Day 5: Arrow Functions
You are viewing a single comment's thread. Return to all comments →