Match the search results

Report a typo

Look at the array of Fibonacci numbers below and match the code snippet with the correct output.

const arr = [1, 1, 2, 3, 5, 8];
Match the items from left and right columns
arr.includes(7);
arr.find(e => e / 2 === 4);
arr.findIndex(n => n % 5 === 0);
arr.indexOf(4);
arr.lastIndexOf(1);
false
8
1
-1
4
___

Create a free account to access the full topic