Clear an alert message
<p>Let's say I have a code like this:</p>

<pre><code>alert('Hello World') 
</code></pre>

<p>So on my device is going to appear an alert message saying 'Hello World'. That message will be there until I press Ok. </p>

<p>But is there  any way to remove the alert message from the screen with code? Instead of pressing Ok on the device?</p>