retrun new array with id from object where id must be match with array of ids. code example Example: javascript get array object by id myArray.find(x => x.id === '45').foo;