Closed l8nite closed 11 years ago
you cant use properties on undefined or null. IMO github.com/visionmedia/better-assert is much cleaner for these, assert(foo.bar == null)
I'll close this since there are alternatives, but what property is being used here?
I want to actually check that I have a property with value undefined.
I think right now the property check is using undefinedness to determine if the second argument was passed in (when instead it should probably check arguments.length).