Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Which Window object method is used to display message in a dialog box?

  2. A.

     alert()

    B.

     prompt()

    C.

     message()

    D.

     none of the mentioned

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    The Window object also defines methods like alert(), which displays a message in a dialog box.


Be The First To Comment