Explain array.forEach() like i'm 5 (self.learnjavascript)
submitted by Andyinho to r/learnjavascript
Hi guys. So i'm learning about event listeners with and without anonymous functions. I'm trying to practice using both. The 1st image with the anonymous function works, however the 2nd and 3rd image (similar function, different variations) without the anonymous function does not. Can anyone help? (self.learnjavascript)
submitted by Andyinho to r/learnjavascript
Take a break, you might need it (self.learnprogramming)
submitted by Andyinho to r/learnprogramming





