passe dados do pop -up js

alert("Hello World!");
const result = prompt(message, default_value);
const result = confirm(message);
putsan