95
rated 0 times
[
98]
[
3]
/ answers: 1 / hits: 56796
/ 9 Years ago, wed, october 21, 2015, 12:00:00
I have this rows code:
_.each($scope.inspectionReviews, function (value, key) {
alert(status= + value.IsNormal + + name= + value.InspectionItemName);
if (!value.IsNormal) {
$scope.status = false;
return;
}
$scope.status = true;
})
At some point I want to stop looping but it seems that return not working.
How can I stop the loop?
More From » lodash