Q.1 If you type the following code in the console window, what result will you get?
Q.3 Which of the following will write the message “Hello DataFlair!” in an alert box?
Q.5 Which of the following statements will throw an error?
Please select 2 correct answers
Q.6 If the value of x is 40, then what is the output of the following program?
Q.8 Which are the correct "if" statements to execute certain code if “x” is equal to 2?
Q.9 What will the code return?
Q.10 What is the output of the following code in the console?