0
A JS function with a prompt argument.
I want the argument inside the given function as input given by the user.For example : function sayHello(name) { alert("Hi, " + name); } sayHello(prompt("type your name.")); The name should be the input.How it can be done?
1 Antwort
0
Look at the code, atta ul momin
https://code.sololearn.com/Wkw0f5ioLG6D/?ref=app