4 of 154 of 15 Items

Question
Which of the following functions do you use to get input from the user in JavaScript?

(1 point)
Responses

input

input

keyin

keyin

prompt

prompt

ask

ask
Skip to navigation

1 answer

The correct function to get input from the user in JavaScript is prompt.