title: Is there a way to use window.hasOwnProperty() in Internet Explorer?
body: <p>I have a method, that perfectly works in Firefox, with which I can determine the name of an instance of a particular javascript object (please don't ask why I need it...). 
  Fr example:</p>
  
  <pre><code>var temp = new String("hello!");
  var theName = getVarName(temp); //returns "temp"
  </code></pre>
  
  <p>This method uses "window.hasOwnProperty()" which doen't work in Internet Explorer: any suggestions?</p>