Select all correct options to write an IF statement for executing some code.
Explanation
Use the IF statement to specify a block of JavaScript code to be executed if a condition is true. Example:

    if(someCondition == true){
        // do something
    }
    else {
        // do something else
    }

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes