I have a function which looks like this:
function helo(a,b){
if(a)
{
//do something
}
if(b)
{
//do something
}
}
Now if I want to specify which parameter has to be passed while calling helo, how do I do it in javascript, i.e
If I want to send only parameter b, how do I call the function helo?
helo(parameterB);
Right now parameter a takes the value