I know that alert()
is built-in function in JavaScript.
But is it a function declaration:
function alert() { ... }
or function expression?
var alert = function() { ... }
So, are we using the function's name or the variable's name when we call it?
and likewise prompt()
and confirm()
..
Thanks in advance.