Anidada si por el contrario, la declaración de shotrthand
Ejemplos de código
0
0
si anidadas declaración
if (condition) {
if (anotherCondition) {
// executes if both condition and anotherCondition are true
} else {
// executes if condition is true and anotherCondition is false
}
} else {
// executes if condition is false
}