JavaScript/Reserved words/else

The else keyword
The else keyword creates a clause inside the if statement. It is optional end executes only if all other if … else if blocks do not execute.

Examples
The code