title: IE9 javascript undefined errors
body: <p>I tried fixing my application to work on IE9 browser (with IE9 standards mode).</p>
  
  <p>However I am getting some undefined javascript errors..</p>
  
  <p>I have the following piece of code in a js file. </p>
  
  <p>1.</p>
  
  <pre><code>if(escape(String.fromCharCode(111)).toLowerCase() != "abc")
  
  {
  
      //code
  
  }
  </code></pre>
  
  <p>I get error 'escape' is undefined.</p>
  
  <p>2.
  In some js files, I get errors "Array is undefined" for such piece of code</p>
  
  <pre><code>//1
  function abc(){
  
  this.abc = new Array();
  
  }
  
  
  //2
  
  var cde = new Array
  (
  
    "aaa","bb","cc",
  
    "dd","eee","ff",  
  
  );
  </code></pre>
  
  <p>However these errors do not occur for IE8 standards mode and other modes.</p>
  
  <p>Please let me know why these errors are coming and how to fix such errors.</p>