I am able to run a code like this
myObject.save(function(error, data){
if(error){
console.log(error);
}
else {
console.log(data);
}
});
What i don't understand is where the anonymous function get the arguments error and data from?