node js call function
question function However, lately theres been a huge amount of activity around a new piece of technology called Node.js.successfully registered the plugin. Set status of plugin to active. spokes.Plugin.isActive(pluginname, true, function(result) . Since Node.js version 7.6, Node.js ships with a new V8 version that features async functions.When the async function is called, it returns with a Promise.api/profile I am getting error TypeError: Cannot read property updateUserDetails of undefined , (at line number of code this.updateUserDetails(req, resp)) Since there is some common logic so I need to move to some function and want to call in different place, but II am new to node js looking for help. The function.caller property returns the function that invoked the specified function.