ga-wdi-boston / js-array-iteration-methods

JavaScript Array methods
Other
1 stars 160 forks source link

Linter not yelling at us #11

Closed payne-chris-r closed 8 years ago

payne-chris-r commented 8 years ago

Expecting "callback defined, but never used" or something along those lines during our code along... It ain't.

let map = function(array, callback){
  let result = {};
  for (let i = 0, max = array.length; i < max; i++){
    result.push("12");
  }
  return result;
};
gaand commented 8 years ago

I believe #12 may correct this omission.

laurenfazah commented 8 years ago

Fixed, should be good to close @payne-chris-r