【My Study Note】JavaScript Window Object
Codes
Contents
prompt()
let person = prompt("Please enter your name", "Harry Potter");
The prompt() method displays a dialog box that prompts the user for input.
» Check more for the codes
Contents
let person = prompt("Please enter your name", "Harry Potter");
The prompt() method displays a dialog box that prompts the user for input.
» Check more for the codes