What's the purpose of this JavaScript function?
<p>I found this in a file called common.js:</p>

<pre><code>function openBrowserWindow(theURL, winName, features) {
    window.open(theURL, winName, features);
}
</code></pre>

<p>I am trying to figure out what the intention of the person who wrote it was (or whatever program generated it.) It seems like it just mirrors the DOM window.open. What was the purpose? Why would you simply wrap a global method? </p>

<p>The function winds up resting in the window object. I did a console.log(window) and saw openBrowserWindow is there. What is strange is that window.open is not listed.</p>
