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

You should be able to accomplish the same with elevators.forEach((elevator) => {})


It could, but favouring FP I'd use for..of for imperative loops where I need to do side-effects, or use .map which is nicer anyway.




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

Search: