3 ms·
You should be able to accomplish the same with elevators.forEach((elevator) => {})
by pazqo 5y ago
You should be able to accomplish the same with elevators.forEach((elevator) => {})
- lloydatkinson 5y agoIt 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.