You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a javascript library which I am successfully importing.
I call that library and I'm able to successfully get the result output to the console in javascript using console.log.
What I'm not seeing is how to get a value back from calling nodeEngine.RunScript().
I essentially want to do:
But I don't see any example of that. I see that I could export a C# interface into the javascript etc...but it feels super complicated.
Is there a simple way to just call into Javascript and get a result back as a string?
Or is there a way of doing this:
and then get the value of x?
Beta Was this translation helpful? Give feedback.
All reactions