+ 1
How can i put many var in one prompt box?
Please give ans with a example ......
5 Respuestas
+ 2
You get an array for example when numbers are entered and separated with spaces:
let a = prompt().split(' ');
for(let x of a){
console.log(x);
}
+ 3
I dont understand ur question.
Please answer:
1. What do you want as result?
2. Which language?
3. Anything else?
+ 2
Please describe ur question more briefly
+ 2
+ 1
Javascript
If i want to put more than one var what should i do ?
Var a=prompt("i am"," ","and", " " )