Bug Tracker

Opened 7 years ago

Closed 7 years ago

#12617 closed bug (duplicate)

$.each does not test for null / undefined objects

Reported by: glen.pike@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

Description

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

TypeError: Cannot read property 'length' of null

Change History (1)

comment:1 Changed 7 years ago by timmywil

Resolution: duplicate
Status: newclosed

Duplicate of #11278.

Note: See TracTickets for help on using tickets.