Closed juk80x closed 10 years ago
Receiving an Uncaught TypeError on line 200 of engine.js
var returnValue = real_func_names[j].returns.variables[t].replace("#THIS#", objName[0]);
The reason is that variables[0] is 'undefined'
It is undefined when the return call of a function includes a conditional ternary operator. For example,
return parts[0] === '+' ? -minutes : minutes;
Hey juk80x,
Sorry for the delay, I have tried to fix the issue. Can you please check and confirm if the problem is now solved.
Thanks Nishant
Receiving an Uncaught TypeError on line 200 of engine.js
The reason is that variables[0] is 'undefined'
It is undefined when the return call of a function includes a conditional ternary operator. For example,
return parts[0] === '+' ? -minutes : minutes;