How can empty JavaScript function actually do something?
<p>While trying to understand how a web server worked, I came accross this:</p>

<pre><code>//myfile.js
function donothing(){};

//myfile.html
javascript:donothing(open('http://www.acme.com/whatever.jpg','','left=100, right=0, top=100, scrollbars=no, status=no, titlebar=no, resizable=no, toolbar=no, menubar=no, width=255, height=255'))
</code></pre>

<p>I'm no JavaScript expert, so I don't get how an empty function can be made to work. Does someone know?</p>

<p>Thank you.</p>
