Bug Tracker

Opened 11 years ago

Closed 11 years ago

#12627 closed bug (notabug)

.unique() returns duplicates

Reported by: cxc330@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.1
Keywords: Cc:
Blocked by: Blocking:

Description

Currently tried in Chrome, where in version 1.8.1 and 1.8.2, the unique() function returns a duplicates.

In Chrome console, calling: $.unique([0,1,0,1,0,0,0,1,1,0,1]); returns: [0, 1, 0, 0, 0, 0, 0]

Change History (2)

comment:1 Changed 11 years ago by cxc330@…

I apologize for submitting this. After reading more on the documentation, I see this: "This function only works on plain JavaScript arrays of DOM elements". Please disregard this ticket.

comment:2 Changed 11 years ago by mikesherov

Resolution: notabug
Status: newclosed
Note: See TracTickets for help on using tickets.