Casts the given value to a flatten array, and removes falsey items (similar to lodash compact).
Converts primitives and objects (plain or array-like) to a sensible array representation for Node.js and the browser.
converts arguments or any other array-like object into an array starting from specific index.
Converts an object to array of object with {key:value} pair like PHP associative array