Retrieve all the DOM elements contained in the jQuery set as an array.
The contained items.
$('li').toArray();//=> [ {...}, {...}, {...} ] Copy
$('li').toArray();//=> [ {...}, {...}, {...} ]
Retrieve all the DOM elements contained in the jQuery set as an array.