DEV Community

Discussion on: JavaScript Arrays: .forEach - The Functional for of loop

Collapse
 
vasil9v profile image
Vasil Daskalopoulos

Great article! Small typo in the description of the callback: "1 on the first iteration" - should be 0 on the first iteration :)

Collapse
 
cedpoilly profile image
Cedric

Thanks @vasil9v ! Fixed :)