title: Pushing Array value to first Index
body: <pre><code>var Config = {
     Windows: ['apple','mangi','lemon']
  }
  </code></pre>
  
  <p>I have a condition and based on that i want to Push the banana value in my Array. </p>
  
  <pre><code>If(Condition Passed) {
        Config.Windows.unshift('banana');
        Windows: ['banana','apple','mangi','lemon']
        Config.Windows.reverse();
        // The way the Array elements are now reversed and First banana is accessed. 
      } else { 
        Config.Windows.reverse();     
  } 
  </code></pre>
  
  <p>It does not do it... when i use the Config.Windows in my other function there is no <code>banana</code> Value... at all</p>
  
  <pre><code>for each(var item in Config.Windows.reverse()) {
   Ti.API.info(item);
   //This does not print banana
  </code></pre>