Replace Control Flag with Break

refactorgram

for (const p of people) {
  if (! found) {
    if ( p === "Don") {
      sendAlert();
      found = true;
    }

image/svg+xml

for (const p of people) {
  if ( p === "Don") {
    sendAlert();
    break;
  }

aliases Remove Control Flag