Here is what I would like to do. However there's no "continue" inside a forEach.
var que = null
self.qs.forEach((q) => {
if (q.synchronized == false) {
que = q;
break; // I would like to do this
}
});
// Now que would be set to the first not synchronized
Can anyone tell me how I can do this. Note that I am using the latest browsers. Please note I am only looking for one object in the array where synchronized == true. Sorry I used "continue" in my question earlier. The functionality I am looking for is "break".