Closed braj065 closed 4 years ago
If i am trying to execute a JS function as follows - function show_number(){return 10+7;}() I am getting error that 'SyntaxError: Unexpected token )'
_jsContext.evaluateScript('function show_random_number(){return 10+7;}()');
The GitHub issues are for bugs in the library. This is an issue with your code.
It's not valid JavaScript, hence the syntax error.
Questions like this are more for stackoverflow.
If i am trying to execute a JS function as follows - function show_number(){return 10+7;}() I am getting error that 'SyntaxError: Unexpected token )'
_jsContext.evaluateScript('function show_random_number(){return 10+7;}()');