Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How use break in Javascript?

var myArray = [22,34,5,67,99,0];
var hasValueLessThanTen = myArray.some(function (val) { 
  return val < 10;
  console.log(val)
});
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #How #break
ADD COMMENT
Topic
Name
7+7 =