Javascript Builtin Functions

Javascript builtin function Prompt

 function mypropmt()
 {
  var response = prompt("Hi, Whats your name?", "")
  alert(response)
 }
 
 
      <script type="text/javascript">
function mypropmt()
{
var response = prompt("Hi, Whats your name?", "")
alert(response)
}

</script>