Reports redundant else keywords in ifelse statements and statement chains. An else keyword is redundant when all previous if branches in the chain don't complete normally because they end with return, throw, break, or continue statement.

In these cases the statements from the else branch can be placed after the if statement and the else keyword can be removed.