Test Cases (0/7)
    • _.map([1,2,3], function(num){ return num*3; }) to return [3,6,9]

    • _.reduce([1,2,3], function(memo, num){ return memo+num; }, 0) to return 6

    • _.reduce([1,2,3], function(memo, num) { return memo+num; }, 5) to return 11

    • _.reduce([1,2,3], function(memo, num) { return memo*num; }, 2) to return 12

    • _.find([1,2,3,4,5,6], function(num) { return num%2 == 0; }) to return 2

    • _.filter([1,2,3,4,5,6], function(num) { return num%2 == 0; }) to return [2,4,6]

    • _.find([1,2,3,4,5,6], function(num) { return num > 10; }) to return undefined

    Output
    Michael
      (0/300)