Open In App

Web technologies Questions | JavaScript Course Quiz 2 | Question 1

Which of the following javascript functions allows you to get user input data?
(A) alert
(B) prompt
(C) confirm
(D) None of the above

Answer: (B)
Explanation: Only prompt creates an input field where the user can enter the data.
Quiz of this Question

Article Tags :