Bug Tracker

Opened 10 years ago

Closed 10 years ago

#12617 closed bug (duplicate)

$.each does not test for null / undefined objects

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:


$.each(null, function() { console.log("wtf!") });

TypeError: Cannot read property 'length' of null

Change History (1)

comment:1 Changed 10 years ago by timmywil

Resolution: duplicate
Status: newclosed

Duplicate of #11278.

Note: See TracTickets for help on using tickets.