JSREF

JavaScript Array findIndex()

Find the first element with a value over 18: