how to write multiple if else statement in javascript code example
Example: nested if javascript
if(a == 'value'){
doSomething();
if(b == 'another value'){
doAnotherThing();
}
}
if(a == 'value'){
doSomething();
if(b == 'another value'){
doAnotherThing();
}
}