MarcoLizza/tiny-js

String.split

ngjermundshaug opened this issue · 0 comments

auto jsEngine = make_unique<CTinyJS>();
registerFunctions(jsEngine.get());
string js = "String('ape katt').split(' ');";
jsEngine->execute(js);

==> Error Expecting 'String' to be a function