Skip to main content

Bug Tracker

Side navigation

#12617 closed bug (duplicate)

Opened September 26, 2012 04:37PM UTC

Closed September 26, 2012 05:15PM UTC

$.each does not test for null / undefined objects

Reported by: glen.pike@headforwards.com 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

Attachments (0)
Change History (1)

Changed September 26, 2012 05:15PM UTC by timmywil comment:1

resolution: → duplicate
status: newclosed

Duplicate of #11278.