Skip to main content

Bug Tracker

Side navigation

#13724 closed bug (notabug)

Opened April 03, 2013 06:10PM UTC

Closed April 03, 2013 11:00PM UTC

jQuery.isPlainObject() works incorrect

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:

Method returns TRUE only for JSON-objects and returns FALSE for objects created as "new myObject()". But method $.isEmptyObject() works correct with both types of objects.


Attachments (0)
Change History (1)

Changed April 03, 2013 11:00PM UTC by rwaldron comment:1

resolution: → notabug
status: newclosed

new myObject() doesn't produce a plain object, it produces an instance of myObject