MCQ
Which function takes the text and displays it in an alert box ?
  • alert($\qquad$)
  • B
    write($\qquad$)
  • C
    display($\qquad$)
  • D
    show($\qquad$)

Answer

Correct option: A.
alert($\qquad$)
A

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free