I\'m looking for a way to stop iterations of underscore.js _.each() method, but can\'t find the solution. jQuery .each() can break if you do
_.each()
.each()
worked in my case
var arr2 = _.filter(arr, function(item){ if ( item == 3 ) return item; });