title: Cannot break for-loop: Unsyntactic break
body: <p>I want to <code>break</code> a <code>for-loop</code> when a certain condition is met</p>
  
  <pre><code>Object.keys(s).map(uk =&gt; {
      Object.keys(s[uk]).map(ik =&gt; {
          for (let i = 1; i &lt; data.length; i++) {
              if (...) {
                  s[uk][ik].map(elem =&gt; {
                      if (...) {
                          if (...) {
                              data.push(...);
                              break;
                              ...
  </code></pre>
  
  <p>However, the <code>break</code> statement gives me a </p>
  
  <blockquote>
    <p>Unsyntactic break</p>
  </blockquote>
  
  <p>Why is that? Its only supposed to <code>break</code> the <code>for-loop</code>, or does <code>JavaScript</code> think that I want to break the <code>map</code>?</p>