A generic iterator function, which can be used to seamlessly iterate over both objects and arrays. Arrays and array-like objects with a length property (such as a function’s arguments object) are iterated by numeric index, from 0 to length-1. Other objects are iterated via their named properties.
Finds the elements of an array which satisfy a filter function. The original array is not affected.
Search for a specified value within an array and return its index (or -1 if not found).
Translate all items in an array or object to new array of items.