7 ms·
The reason to use each instead of for loops is for code consistency. Also there are custom objects which require you to use each to iterate.
by leh0n 14y ago
The reason to use each instead of for loops is for code consistency. Also there are custom objects which require you to use each to iterate.
- charliesome 14y agofor is defined in terms of each, so you can still use for on a 'custom object'