I find the named parameters feature in C# quite useful in some cases.
calculateBMI(70, height: 175);
What can I use if I want this in JavaS
No - the object approach is JavaScript's answer to this. There is no problem with this provided your function expects an object rather than separate params.