I'm looking a workaround to this javascript code is used to make HTML pages:
<script>
document.write("Available Width: " + screen.availWidth);
</script>
How to convert it to ExecJS in C2?
Thanks!
Develop games in your browser. Powerful, performant & highly capable.
Solved, I figured out it needs to be "string"
Like this
Browser.ExecJS("screen.availWidth")