title: Iterate over object and break
body: <p>I have the following code:</p>
  
  <pre><code>const locales = {
    RU: 'something here',
    EN: 'something else here',
  };
  
  let locale;
  for (const [key, value] of Object.entries(locales)) {
    if (key.indexOf('RU') !== -1) {
      locale = value;
      break;
    }
  }
  </code></pre>
  
  <p>I am however using eslint. It's complaining about <code>no-restricted-syntax</code>, so I'm wondering how i can achieve the same result without a for loop (iteration with breaking).</p>
  
  <p>ES7 is welcome to be used.</p>