Implement map on a prototype Guide solutions need to be fixed

The guide solutions do not work at the moment because they do not pass the testcase that gives a callback function with 3 parameters.

Link to challenge:

Same with the solution for filter

I updated them.

The callback needs the index and this (or the original array the array method was called on) passed to it.

I’m not sure how much I like Solution 3 for the filter challenge.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.