Contact: aviboots(AT)netvision.net.il
39,926 questions
51,859 answers
573 users
const array = [3, 6, 1, 8, 9, 4, 5]; const found = array.find(element => element > 5); console.log(found); /* run: 6 */