title: Why JSON.stringify giving JSON undefined error?
body: <p>I am trying to use <code>JSON.stringify</code> in my javascript page (EXTJS) code but it's giving me JSON is undefined error. Error happends only in IE (ver.10). This code will work in FF and Chrome. Below is a sample code that I am trying to use. Why is it failing? This seems like a valid example and works in other browsers. Thanks in advance.</p>
  
  <pre><code>var contact = new Object(); 
  contact.firstname = "Joe";
  contact.surname = "Smith";
  contact.gendere= "male";
  var jsonText = JSON.stringify(contact);
  </code></pre>