title: Change Array Object and array to new Array Object
body: <p>I have an Array object which is dynamic</p>
  <pre><code>this.rating.data = {[4, 1, 8, 3, 3]};
  </code></pre>
  <p>I have an Array</p>
  <pre><code>this.rating.labels = [&quot;In&quot;, &quot;Lo&quot;, &quot;Me&quot;, &quot;Hi&quot;, &quot;Cri&quot;];
  </code></pre>
  <p>However, data will be zero in a lot of case cases
  Ex (if data of &quot;In&quot; is zero, the labels will be not displayed in array)</p>
  <pre><code>this.rating.data = {[1, 8, 3, 3]};
  </code></pre>
  <p>and</p>
  <pre><code>this.rating.labels = [&quot;Lo&quot;, &quot;Me&quot;, &quot;Hi&quot;, &quot;Cri&quot;];
  </code></pre>
  <p>I try to handle and create a new Array Object new with define but I can not handle it</p>
  <pre><code>[{
  &quot;In&quot;: 0,
  &quot;Lo&quot;: 1,
  &quot;Me&quot;: 8,
  &quot;Hi&quot; : 3,
  &quot;Cri&quot;: 3,}]
  </code></pre>