Named parameters (i.e. fnCall(x = "something")
) are very useful for visually verifying you are passing the correct item in the correct spot (among other reasons to use them.)
JS doesn't natively support them. This article already covers the work arounds, what I'm curious is why JS doesn't support name parameters? (when most? other programming languages seem to)