hasOwnProperty cross-browser issue

This code…


… will alert true in Firefox and Chrome, and false in Safari and Opera…

Internet Explorer will throw an error:
“Object doesn’t support this property or method”
I have yet to figure that one out.

Why are the other browsers inconsistent?.. the reload method is a property of the location object.