how to call fun1 functions via js?
runtime.callFunction.fun1(); does not work
Develop games in your browser. Powerful, performant & highly capable.
runtime.callFunction("fun1")