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: | GolubevS79@gmail.com | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 1.9.1 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
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 comment:1
| resolution: | → notabug |
|---|---|
| status: | new → closed |
new myObject()doesn't produce a plain object, it produces an instance ofmyObject