Bug Tracker

Opened 15 years ago

Closed 15 years ago

Last modified 9 years ago

#2600 closed bug (fixed)

jQuery.extend() should not ignore properties with null values

Reported by: scottgonzalez Owned by:
Priority: major Milestone: 1.2.4
Component: core Version: 1.2.3
Keywords: Cc:
Blocked by: Blocking:


jQuery.extend() currently ignores properties with a value of null or undefined; only undefined should be ignored.

Change History (3)

comment:1 Changed 15 years ago by scott.gonzal

This behavior was introduced in [2783].

comment:2 Changed 15 years ago by scott.gonzal

Resolution: fixed
Status: newclosed

Fixed in [5385].

comment:3 Changed 9 years ago by [email protected]

Please update the documentation for "extend" to reflect that change. (I spent hours debugging that today, as I assumed that "null" values are ignored - as the documentation states!)

Note: See TracTickets for help on using tickets.