I have a few questions/concerns about dojo.forEach() that I'm hoping someone can answer.
(Can't find a post or test that answers.)
1. Does forEach have break and continue ability from within its 2nd arg function?
2. What solutions exist for a "return" to stop the loop and exit function outside of forEach from within loop function.
These are common to native loop constructs. How do I achieve these with forEach?
Test Code
var array = [
{name: "a", flag: false},
{name: "b", flag: true},
{name: "c", flag: true}
]
