I'm using a single structure dynamically for many function as shown below:
Parent[funcName](data, function(err) {
// further operations
});
The variable "data" in the function have 0, 1, 2 or 3 as per the function requirement. It works fine when single argument is passed in "data" but if more than 1, it shows error - "more argument are expected".
So how can I pass multiple arguments by using single variable? Is there any work around?