objectsAt (indexes) Arraypublic
Defined in packages/ember-runtime/lib/mixins/array.js:257
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