Q:

Which of the following is the correct syntax to display “Tutoriallinks” in an alert box using JavaScript?

1

Which of the following is the correct syntax to display “Tutoriallinks” in an alert box using JavaScript?


  1. alertbox(\"Tutoriallinks\");
  2. message(\"Tutoriallinks\");
  3. alert(“Tutoriallinks”);
  4. All of the above

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

C.alert(“Tutoriallinks”);

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Which one is Ternary Operator... >>
<< Types of errors in Javascript...