News

arr.forEach((x) => { console.log (x) }) // outputs: 5, 10, 15, 20 We’ve passed in a function to forEach, defining an inline anonymous function using the arrow syntax.Doing this is very common ...