Как console.log при использовании подсказки в JavaScript
var name = prompt("Name?");
console.log("Hello " + name);
// Force a 10 millisecond delay before running the rest of the code.
setTimeout(function(){
var age = prompt("Age?");
console.log(name + " is " + age + " years old");
}, 10);
Jolly Jellyfish