4 ms·
In fact, before the current for ... in ... syntax, this is how foreach looping used to be done: do some_array.each |item| { ... }
by pitterpatter 7y ago
In fact, before the current for ... in ... syntax, this is how foreach looping used to be done:
do some_array.each |item| {
...
}