this array contains atleast 10 objects

```
 array: any[] = [];

```

when function called, array is expected to contain already existing and new objects from item.

```
 function () {
    var timeline = this.service.fetchservice(10)
    .map((result : Response) => result.json())
    .subscribe(item=> {
          this.array.push(item);
        });
    }

```

error in console 

```
ERROR TypeError: _this.array.push is not a function

```