I have two collections defined - gIterator is an iterator, and contains [1, 2, 3, 4, 5], and gCustomIterator is an object with an @@iterator method that contains [6, 7, 8, 9].