i try :
Browser.ExecJS("var a = new Date(); alert(a);")
ane its work good but if i try to retun it :
Browser.ExecJS("var a = new Date(); return a;")
its dont work.
In case someone run into this (C2 + C3) and it doesn't work for him.
What ExecJS does in Runtime 2.0 seems to be connect strings first and then just cast javascript eval function. So in case you have code like:
where in each loop you want to increase timeL += dt, your code could look like this:
notice core part with (function() { doYourThing; return whateverYouWant; })()