myMap() method that can iterate over an array and returns a copy of the array with the function that the user provides.
myFilter() method that can iterate over an array and returns a new array based on a boolean that matches the user function passed.
myReduce() method that takes in an array and returns one single value at the end, based on the function that the user provides. It also takes into account an accumulator.
myPromise.all() method that takes in an
array of promises and resolves ONLY if all of the passed promises resolve.
Click to reveal
Try using the native
this keyword and the
callback that the user passes.