title: How does one filter an array of objects by each object item's property name?
body: <p>I'm kinda new to coding so sorry if I may sound dumb. This is my question:
  I have an array of objects and wanted to filter it by the start of the object key.</p>
  <pre><code>[{
    a_1: 356
  }, {
    a_2: 348
  }, {
    b_1: 621
  }, {
    c_9: 311
  }, {
    b_8: 123
  }, {
    a_8: 787
  }]
  </code></pre>
  <p>The result should be like this, so only the objects with the key that starts with &quot;a&quot; pass the filter:</p>
  <pre><code>[{
    a_1: 356
  }, {
    a_2: 348
  }, {
    a_8: 787
  }]
  </code></pre>
  <p>Thank you in advance!</p>