3 ms·
It would prevent the bug, though. Passing the index and object for .map() can come in handy sometimes, so I understand the motivation for including it. But wit
by crazygringo 3y ago
It would prevent the bug, though.
Passing the index and object for .map() can come in handy sometimes, so I understand the motivation for including it. But with named arguments, they could be passed as something like "_index:" and "_obj:", rather than getting slotted in as an arbitrary [1] and [2], where they can be misinterpreted as other parameters (like "radix").