Answers for "arrow functions hacker ranks"

0

arrow functions hacker ranks

function modifyArray(nums) {
    return nums.map(n => n = (n%2==0) ? n*2: n*3);   
}
Posted by: Guest on October-30-2020

Browse Popular Code Answers by Language