Which function is used to take input from the browser window code example
Example: how to ask input in javascript
let name=prompt("What is your name?");
console.log("Hi "+name)
let name=prompt("What is your name?");
console.log("Hi "+name)