In for loop you control the boundaries, in for each whole array will be iterated.
Control vs simplicity, you choose which one you need at the given task.
Outcome of both is the same when iterating through whole array.
Note: for each is deprecated and not supported in browsers.
It looks like you're new here. If you want to get involved, click one of these buttons!