Abstract all iterations of things that have a length property into a function called arrLikeEach.