Writing code in Java, Python, Ruby, JavaScript
class Array def each! while count > 0 yield(shift) end end end