Opened 11 years ago
Closed 11 years ago
#10424 closed enhancement (plugin)
Add .toArray() method
Reported by: | wheresrhys | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | core | Version: | 1.6.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description (last modified by )
Reading through the documentation today I found an example (
$("div").get(); / returns array of DOM nodes
Also I notice .makeArray() only works in the following way
$.makeArray($("div"));
And not like so:
$("div").makeArray();
Given that the functionality exists (but just not documented properly), could jQuery include a .toArray/.makeArray method (either adapting the current .makeArray or as an alias for .get()).
Change History (1)
comment:1 Changed 11 years ago by
Component: | unfiled → core |
---|---|
Description: | modified (diff) |
Priority: | undecided → low |
Resolution: | → plugin |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
there is really no reason to add another array creator method to the core