Mateusz Gawli?ski
Member since May 5, 2014
- Profile: /members/11882-mateusz-gawli-ski.htm
- Comments: 1
Recent Blog Comments By Mateusz Gawli?ski
-
Javascript's hasOwnProperty() Method Is More Consistent Than The IN Operator
Posted on May 5, 2014 at 5:49 PM
Hi there, I love hasOwnProperty as we all do but recently I run into a weird problem. I was trying to call it on window object: window.hasOwnProperty('onbeforeunload') and guess what... it gave me false! Of course, I compared it with: 'onbeforeunload' in window which returned true. It looks like ... read more »