Apr 29, 2024
The use of array in this case was for the cleaner and more reliable destructuring in the loop. Object destructuring is unreliable and bulky garbage, particularly if some parameters are optional.
Objects also can't be "spread" making passing them as "rest" to functions a pain in the ass.