You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
newForEach(elements,iterator);//example of passing around a function
newForEach(wrestlingGear,function(item,index){
console.log(item,index);
});/// example of passing around 1 function but we still have the item/index function being fully written out over again instead the above exmaple with just passing the function via it's name.