-1
How can I create a function in Javascript that will have a parameter that will receive what the user type on the screen and want as return a Alert with what was typed by the user?
My question is how to get the function to take such inserted text.
Use the
let oQueFoiDigitado = window.prompt("Text");
– Valdeir Psr