title: Push Object property values to an array
body: <p>To convert the object into arrays based on the number of keys present inside the JSON object using JS.</p>
  <p><strong>the actual Object</strong></p>
  <pre><code>  values: [
          {
            Label: &quot;label1&quot;,
            Value: &quot;10&quot;,
          },
          {
            Label: &quot;label2&quot;,
            Value: &quot;11&quot;,
          },
          {
            Label: &quot;label3&quot;,
            Value: &quot;12&quot;,
          },
        ],
      };
  </code></pre>
  <p>And I want the actual output to be something like this</p>
  <pre><code>label:['label1','label2','label3']
  value:['10','11','12']
  </code></pre>
  <p>Using javascript or in react.
  Thanks in advance</p>