timoxley / functional-javascript-workshop

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

Boiler Plate code is edited with correct arguments #205

Open MeetJoshi0 opened 3 years ago

MeetJoshi0 commented 3 years ago

204

the boiler plate was code was containing only two arguments : arr , fn but thisArg was missing there for i edited.

-function` arrayMap(arr, fn)
+function arrayMap(arr, fn,thisArg)