i am new in node js. Please helm me out. In the following code "modelName" is a variable which may be changed in each function call but it is showing me error that "modelName" is undefined. Thanks
"createModel": function(modelName, callback) {
app.models.modelName.create(self.modelName(), function(error, modelInstance) {
if(!error){
callback(null, modelInstance.id);
}
});
}