= this.get('grades'); var total = grades.reduce(function(val, i){ return val + i; }); return total/grades.get('length'); }.property('grades.@each') }); var patrick = App.Student.create({ grades: [83, 76, 97, 60] }); patrick.get('gradeAverage'); // => 79 COMPUTED PROPERTIES.