This also helps with Typescript that required<p><pre><code>  var products:Array&lt;Product&gt; = []
    for (var x in this.props.products) {
      products.push(this.props.products[x])
    }</code></pre>