The perf impact of this is curious. Arguments are very cheap in JS, unlike objects. Using the wrong order will kill the hidden class. A lot of optimizations need to happen to eliminate the object allocation and the property access cost. The function better be hot and inlineable.
Habit: If a function accepts two arguments of the same type, I accept an object.
This protects from accidentally passing args in the wrong order.


