Menu: Simplify JavaScript loops
Both are some sort of reduce/accumulators, but only one of them cleanly maps to modern JavaScript Array API: the other one is two accumulators at once, which quickly gets messy without static typing.
parent
2f903c82
Please register or sign in to comment