Use 3rd party JS libraries (including JQuery), call Javascript functions, access object properties and methods. Implement game objects, and algorithms in Javasc...
Please see readymag.com/valerypopoff/valerypopoff-js-plugin What you need is "Value" expression.
I execute code like this :
"window.web3.eth.getAccounts(function (errr,accounts)
{
console.log(accounts[0]);
});"
Result display in console is correct. But how to pass this value to variance in C3?
Sorry for my poor english.
Thank you.
You don't pass anything TO construct. You use "Value" expression of the plugin to get the value of whatever you want in your code. See the manual and the examples.