JavaScript if
Use the JavaScript if statement to execute a block of code when a condition is true.