How to find all id's to an array from array of objects - Javascript : <p>How to find all id's to an array from array of objects. Here through normal for loop I can able to get but using ECMA new features by findAll etc..how to get?</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>let items = [
      {id: 28, name: "Action", isSelected: true},
      {id: 10770, name: "TV Movie", isSelected: false},
      {id: 53, name: "Thriller", isSelected: true},
      {id: 10752, name: "War", isSelected: false},
      {id: 37, name: "Western", isSelected: true}
    ]</code></pre>
</div>
</div>
</p>

<p>Here I want to find all id's based on isSelected is true.</p>
