What do window objects (window.something = something) do in JavaScript?
<p>I don't know if you need to see the full code, but I have seen a few plugins that do this:</p>

<pre><code>window.dataValidate = dataValidate
</code></pre>

<p>Does this add 'dataValidate' to the window object, or how does it work?</p>
