Modules 10/15


When you import values into missionControl.js and you use the forEach method, which takes a function inside its parameters, the function inside the forEach method holds its own parameter, element, which is where I get confused. What is the purpose of this parameter? I am a bit lost.


You could take a look at what value it receives by printing it, should be a pretty big hint to what its purpose is.
And/or look up what the forEach method does with the function


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