does var onload mean that it should run when page is loaded
<p>// test.js //</p>

<pre><code>    var testObj = {};
    testObj.init = function(){
        console.log('google');
    }

var onload = testObj.init;
</code></pre>

<p>/// what does it mean, does it mean it gets executed when script loaded or what, I just can't understand it as it is not looging into console anything under Google Chrome plugin...</p>
