Test Cases (0/3)
    • map([1,2,3,4,5,6,7], function(num){ return num*2; }) to return [2,4,6,8,10,12,14]

    • map([-3,-1,1,3,-5,15,-20], function(num){ return num+5; }) to return [2,4,6,8,0,20,-15]

    • map([-3,-1,1,3,-5,15,-20], function(num){ return num*2; }) to return [-6,-2,2,6,-10,30,-40]

    Output
    Michael
      (0/300)