Can someone explain me why with a for loop it works and with a forEach it does not. I thought we could simply swap for with forEach with no problems.
It works! FOR LOOP