angular2, typescript, extract an array from object : I'm having an issue trying to extract an array from an object. The strcuture is as follows:

    []
      0: Array(4)
         0: 0
         1: 5
         2: 500
         3: (5) [{…}, {…}, {…}, {…}, {…}]

I've tried object.keys, for and foreach loops but I haven't been able to find a solution. This example is what I get when I use console.log(object). When I put console.log(object.length) I get 0 as an answer. But the type is an object. Any help would be much appreciated.

