timoxley / functional-javascript-workshop

A functional javascript workshop. No libraries required (i.e. no underscore), just ES5.
2.06k stars 439 forks source link

implement_map_with_reduce Boiler Plate is Incorrect #204

Open MeetJoshi0 opened 4 years ago

MeetJoshi0 commented 4 years ago

boiler plate Provided is :

-function` arrayMap(arr, fn) {
  //SOLUTION GOES HERE
}

module.exports = arrayMap;

+function arrayMap(arr, fn,thisArg) {
  //SOLUTION GOES HERE
}

module.exports = arrayMap;
MeetJoshi0 commented 4 years ago

i have created pull request so please do review it.