Currently, I am debugging my ng2 application using console logs. When logging an array, it shows an AnonymousSubject with the following attributes:
AnonymousSubject
_isScalar:false
closed:false
destination:AnonymousSubject
hasError:false
isStopped:false
observers:Array[0]
operator:ToArrayOperator
source:AnonymousSubject
thrownError:null
__proto__:Subject
Is it possible to view the content of the array? Why does clicking 'destination' lead to recursive looping of its content?
Code:
GetFeed(id: UUID): Feed[] {
var toReturnFeed: any[];
this.table.find({id: id}).fetch().subscribe(result => toReturnFeed);
console.log(toReturnFeed);
return toReturnFeed;
}
I have more questions, but I'll save them for later. Thank you in advance.