90.8k views
3 votes
In the code that follows, prompt is a/an ____________________________.

window.prompt("Enter your name");

1 Answer

5 votes
var person = prompt("Please enter your name", "Name Field");
Though, this might be in the wrong context.
User Drealmer
by
6.9k points