Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

object find javascript

function isBigEnough(element) {
  return element >= 15;
}

[12, 5, 8, 130, 44].find(isBigEnough); // 130
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #object #find #javascript
ADD COMMENT
Topic
Name
6+5 =