Deeply nested if statements are hard to read.
The following code snippet illustrates this rule :
function sayHello() {
if (true) {
if (true) {
if (true) {
if (true) { // NOK
return;
} else {
return;
}
}
}
}
}