// Array :- It is collection more the single value inside an variable
// find():-This method return the first element that satisfy coondition
// Array.find(callback(,valueindex,arr,),ThisArg)
const arr1=[1,2,3,4,5,2];
console.log(arr1.find(value=> value>1));