4 ms·
I already did: > There is a function "each" that applies to arrays. "Each", for each element in the array, binds "elem" to the element value, then executes the
by pacala 14y ago
I already did:
> There is a function "each" that applies to arrays. "Each", for each element in the array, binds "elem" to the element value, then executes the body of the code block. The code applies "each" to array "arr" and executes "puts elem" for each element.