Temukan di Array React
const array1 = [5, 12, 8, 130, 44];
const found = array1.find(element => element > 10);
console.log(found);
Orest Lue
const array1 = [5, 12, 8, 130, 44];
const found = array1.find(element => element > 10);
console.log(found);