JavaScript Global Variable Assignment
<p>I had written a code as shown, where I was assigning a global variable a value, which suspended my further code execution.</p>

<p>resultCollection is the global variable. Also my program is running in strict mode.</p>

<pre><code>"use strict";
var View = Backbone.View.extend({
     initialize : function(options){
         this.el = options.el;
         resultCollection = options.resultCollection;
         console.log('resultCollection',resultCollection);
         this.render();
     }  
</code></pre>

<p>The console.log was never printed and the execution doesn't stop, just suspends or still executing when the global variable was assigned a value.</p>

<p>Why did this happen ? Can anyone give me some insight ?</p>
