can you put if statememts inside of if statement 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();
}
}