You are viewing a single comment's thread. Return to all comments →
JavaScript
function modifyArray(nums) { return nums.map(num=>num%2?num*3:num*2) }
Seems like cookies are disabled on this browser, please enable them to open this website
Day 5: Arrow Functions
You are viewing a single comment's thread. Return to all comments →
JavaScript