Which Window method will you use to display a dialog with an optional message prompting the user to input some text?
Explanation
The Window.prompt() displays a dialog with an optional message prompting the user to input some text. Example:

var name = prompt("What is you name?");
if (name != null) { alert("Hello+ " " +name");

Слідкуй за CodeGalaxy

Мобільний додаток Beta

Get it on Google Play
Зворотній Зв’язок
Cosmo
Зареєструйся Зараз
або Підпишись на майбутні тести