Which of the following syntaxes displays a dialog box, causing the user to enter input text?
a. print(text[,default Input])
b. confirm(text[,default Input])
c. prompt(text[,default Input])
d. alert(text[,default Input])

Respuesta :

Answer:

c. prompt(text[,default Input])

Explanation:

In javaScript the prompt() method displays a dialog box which allows the user input text required by the program.