Community Member Profile
- Profile: /members/2922-Raj-V.htm
- Comments: 3
- Points: 29
Recent Blog Comments By Raj V
-
Using Javascript's IN Operator To Test For Object Property Existence
Posted on Oct 1, 2009 at 10:42 AM
@Ben, That's exactly my point. Sometimes, you may not want document.write( "a" in instance ); be true. The following line will return false, since property "a" is not in B. document.write(instance.hasOwnProperty("a")); Sorry if I confused you.... read more »
-
Using Javascript's IN Operator To Test For Object Property Existence
Posted on Oct 1, 2009 at 10:15 AM
Ben, While using for in, to truly check that the property is from the current object and not from the prototype chain, you have to use the hasOwnProperty method. No necessary in your above example though.... read more »
-
An Intensive Exploration Of jQuery With Ben Nadel (Video Presentation)
Posted on Feb 11, 2009 at 7:23 PM
Thanks Ben for posting this online. Great presentation... read more »



