Javascript - Write program to Use the if statement to output some text if 5 is greater than 2.

Requirements

Write program to Use the if statement to output some text if 5 is greater than 2.

if (your code here) {
    console.log( "Well done!");
}

Hint

Syntax hint

if (x > y)

Demo

if (5 > 2) {
    console.log( "Well done!" );
}

Result