Write Your JavaScript Code Here

// Array :- It is collection more the single value inside an variable // every() : this method check the condition and return the boolean value if it is satisfy the condition //array.every(callback(currentvalue,index,arr),thisArg) const arr=[22,3,44,7,58,8] function con(value){ return value>2; } console.log(arr.every(con));

Output: