3 ms·
I couldn't remember if that was one of the things they fixed with ES6. I wonder if passing in a dict is a good alternative in this case. More syntax clutter bu
by andybak 6y ago
I couldn't remember if that was one of the things they fixed with ES6.
I wonder if passing in a dict is a good alternative in this case. More syntax clutter but at least the params have some semantic meaning.
- randallsquared 6y agoObject destructuring in the parameter list comes very close to supporting keyword arguments, with only a couple of characters overhead.