i have an array of object inside another object. when i iterate this array with
t.schedules.forEach(function(item) {
console.log(item[index]);
});
it shows error Uncaught TypeError: t.schedules.forEach is not a function.
but i am able to get it with t.schedules[index];