title: How do I parse array of objects and compare it with other array objects?
body: <p>I have an array of objects that I would like to know how to parse, find the keys that are in my other array and check if they are null in the initial array of objects.</p>
  <p>How can I achieve this?</p>
  <p>So I have something like:</p>
  <pre><code>[{&quot;nonmandatoryfield&quot;:&quot;&quot;,&quot;mandatoryfield1&quot;:&quot;1&quot;,&quot;mandatoryfield2&quot;:&quot;2&quot;,
    &quot;mandatoryfield3&quot;:&quot;3&quot;}]
  </code></pre>
  <p>now I would like to check if keys: [mandatoryfield1, mandatoryfield2, mandatoryfield3] values are null</p>
  <p>In JavaScript</p>