I eventually figured it out by passing in another form of empty callback functions.
What I do not understand is:
There seems to be two forms of empty callback functions (unless there is only one form)
Why is the empty callback function as provided above not acceptable in this step?
Challenge Information:
Learn Modern JavaScript Methods by Building Football Team Cards - Step 25
( ) => { } and function () {} are two types of functions that can be used as an empty callback function.
The first type is called an arrow function. The second is called a regular function. Both can be used as an empty callback function.
My question was, why is the first kind not recognized as admissible for THIS step of the tutorial project.
If you mean an empty callback function can only use an arrow function, could you provide me with the documentation or source of this information? Because I read that both functions can be used as callback functions.