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

For-of only works for iterable sources, it would not be a complete replacement of for...in, also it seems a bit slower that for...in as of now.. see https://kpdecker.github.io/six-speed/


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

Search: