Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how reliable is js hasownproperty

o = new Object();
o.propOne = null;
o.hasOwnProperty('propOne');   // returns true
o.propTwo = undefined;  
o.hasOwnProperty('propTwo');   // returns true
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #reliable #js #hasownproperty
ADD COMMENT
Topic
Name
4+4 =