The-Marcy-Lab-School/1-2-0-assignment

Should the HOF callbacks accept all three arguments

Closed this issue · 0 comments

Normally, the callback given to iterators like forEach are given the value, the index, and the array. Doing so for the myForEach causes the first test to fail since the exact arguments provided don't match.