Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

for..of simply desugars into getting an iterator from the iterable and then iterating it, right?

To compose iterables, you'd presumably work with iterators directly instead of the sugar.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: