0

How does this [1,2].forEach(alert) ?

[1,2].forEach(alert); This will alert 1 2 but how does it take array of elements.please explain

2nd Mar 2022, 11:29 AM
Bhavani Sankar
Bhavani Sankar - avatar
1 Answer