toArray_.toArray(list)
Creates a real Array from the list (anything that can be iterated over). Useful for transmuting the arguments object.
1 2 | ( function (){ return _.toArray(arguments).slice(1); })(1, 2, 3, 4); => [2, 3, 4] |
toArray_.toArray(list)
Creates a real Array from the list (anything that can be iterated over). Useful for transmuting the arguments object.
1 2 | ( function (){ return _.toArray(arguments).slice(1); })(1, 2, 3, 4); => [2, 3, 4] |
Designed by : w10schools
service@w10schools.com
Please login to continue.