forEach block

forEach block

Use this block to apply an action on each member of an input array.



For example add a forEach block, and connect it to an array block:



Then click on the "do" button and insert this function, that runs console.log on each element of the array: