`each` for arrays