When I use alert() it returns ,undefined in console,why is that so?
<p>My question is that why I am getting "undefined" in console while using alert().</p>

<p>here is the code.</p>




   alert("Hello World");



