jQuery.unique( array )Returns: Arrayversion deprecated: 3.0
Description: Sorts an array of DOM elements, in place, with the duplicates removed. Note that this only works on arrays of DOM elements, not strings or numbers.
version added: 1.1.3jQuery.unique( array )
arrayType: ArrayThe Array of DOM elements.
As of jQuery 3.0, this method is deprecated and just an alias of
jQuery.uniqueSort(). Please use that method instead.
As of jQuery 1.4 the results will always be returned in document order.
Removes any duplicate elements from the array of divs.