objectsAt (indexes) Arraypublic
This returns the objects at the specified indexes, using objectAt.
let arr = ['a', 'b', 'c', 'd']; arr.objectsAt([0, 1, 2]); // ['a', 'b', 'c'] arr.objectsAt([2, 3, 4]); // ['c', 'd', undefined]
Parameters:
- 
indexes 
Array - An array of indexes of items to return.
 
Returns:
- 
Array 
Please login to continue.