const arr = [1, 2, 4, 7, 10, 14, 24, 32, 45]
let result = arr.find((val) => val > 5)

console.log(result) // 7

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.