In other languages, when calling functions you could choose what parameters to pass with.
So for example
int cookMeth(x=0,y=0,z=0){...}
cookMeth(z=123);
My question is, is it possible for js? It doesn't seem to be but what are the alternatives or techniques for doing this?