What is the use of prompt, provide its syntax and how many parameters it take? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

What is the use of prompt, provide its syntax and how many parameters it take?

29th Dec 2016, 6:26 AM
Vipul Aggarwal
Vipul Aggarwal - avatar
1 ответ
0
var user = prompt("Please enter your name"); alert(user); // Open a box asking you to imput information.
29th Dec 2016, 7:54 AM
alvaro mesa
alvaro mesa - avatar