-
Notifications
You must be signed in to change notification settings - Fork 363
Closed
Description
Hello,
I have the following Javascript code that I am interpreting using your library:
callback(function(x, y) { return x < y; });
I had setup a wrapper function this way:
var callback_wrapper = function(cb) {
// **1
};
interpreter.setProperty(scope, 'callback', interpreter.createNativeFunction(callback_wrapper));
I want to call the function passed to callback()
inside the callback_wrapper()
(**1).
Is it possible?
How can I do it?
Thanks in advance,
Metadata
Metadata
Assignees
Labels
No labels