const numbers = [2, 4, 5, 3, 8, 9, 11, 33, 44]; const findIndex = numbers.findIndex((number) => number == 5); console.log(findIndex) //Expected output: 2