var fruit = fruits.slice().reverse().find(fruit => fruit.shape === currentShape);
or newer ECMAscript specification provides immutable method Array.prototype.toReversed()
const fruit = fruits.toReversed().find(fruit => fruit.shape === currentShape);