Consider the example
var example = function(a = 10, b = 15, c) {
return c;
}
So, I want to call the example
function with just the value of c
. Something like,
example(20); // should return 20, without disturbing the values of a and b
How would I do this in JavaScript?