How can you set a variable in the JavaScript output | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can you set a variable in the JavaScript output

Alot of people are wondering this and I have the answer, a alert bar. Here is some of mine for a example var person = prompt("Please enter your name", "Replace with name"); alert(person);

15th Apr 2018, 2:25 PM
Supergrupgr
Supergrupgr - avatar
1 Answer
+ 1
var person = prompt("Please enter your name", "Replace with name"); alert(person);
15th Apr 2018, 2:25 PM
Supergrupgr
Supergrupgr - avatar