¡@

Home 

javascript Programming Glossary: iterator.next

Javascript Iterator Class

http://stackoverflow.com/questions/2644966/javascript-iterator-class

var iterator new Iterator myCollection for var element iterator.next iterator.hasNext element iterator.next iterator Edit mamoo reminded.. for var element iterator.next iterator.hasNext element iterator.next iterator Edit mamoo reminded us of the Iterator implementation.. bluff2 777 var iterator new npup.Iterator o for element iterator.next iterator.hasNext element iterator.next log.debug 'got elem from..