Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.10.0
-
None
Description
Documentation says
QJSValue fun = myEngine.evaluate("(function(a, b) \{ return a + b; })");
QJSValueList args;
args << 1 << 2;
QJSValue threeAgain = fun.call(QJSValue(), args);
But QJSValue::call takes only one argument. Probably this is typo and correct function is callWithInstance