已采纳回答 / qq_马尔蒂尼_0
klass.add(teacherName,students); 应该在foreach语句中klasses.forEach(function(item,index){var _klass=itemvar teacherName=item.teacherNamevar students=item.studentsklass.add(teacherName,students);})}
2016-01-10