I have the following Json result:
(Taken from the console)
data
Object {0: Object, 1: Object, 2: Object, 3: Object, 4: Object, 5: Object, 7: Object}
if i in the console do data[0]
i get the following result:
Object {id: 125, Module_id: 2, academy_id: 7, Team_id: 5, end: "2014-08-12 00:00:00"…}
However when i do data.length
the value is undefined
can anyone tell me what is going on?