如果以klass为对象 我调用的时候该怎么传参数呢
var _class = require('./class')
_class.add('scott',['fgg','ds'])
function add(classes){
classes.forEach(function(item,index){
var teacherName = item.teacherName
var students = item.students
_class.add(teacherName, students)
})
}
exports.add = add