Answers for "find in array react"

1

find in array react

const array1 = [5, 12, 8, 130, 44];

const found = array1.find(element => element > 10);

console.log(found);
Posted by: Guest on April-19-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language