I am getting Missing callback argument error
Here is my work
var createManyPeople = function(arrayOfPeople, done) {
const person = new Person({name:"Joe",age:"20",favoriteFoods:["rice"]})
person.save(function(err,data){
if(err){
done(err);
}
done(null, data);
});
};
Can anyone help me find what I am missing out