232k views
0 votes
When the prompt function is used in JavaScript, _____ appears.

A.
an error message

B.
a pop-up box

C.
a data warning

D.
a password request

2 Answers

0 votes
A pop up box to let you know the Java script is there and active
User Phlippie Bosman
by
7.8k points
4 votes

Answer:

B

Step-by-step explanation:

instructs the browser to display a dialog with an optional message prompting the user to input some text, and to wait until the user either submits the text or cancels the dialog

User Huayi Wei
by
8.2k points