How can I access this array with objects? I'm familiar with the ordinary arrays in Javascript, but this tricks me.

```
var studentsInfo = {};
studentsInfo.students = [];
studentsInfo.students.push({studentId : 100, name: "Peter Hansen", grades : [{grade: "10"},{grade: "12"},{}]});
studentsInfo.students.push({studentId : 101, name: "Jan Olsen", grades : [{grade: "7"},{grade: "10"},{}]});

```

But how to access this and print out the grade for each?
I'm supposed to do an average number for their grades and output this in a table in angular. But now I just want to get the grade out and understand how to access this type. I've tried something like this:

```
 studentInfo.students.grade

```