Envelope code:
// debug disable <- remove this line hello() { console.log("Hello world") return true } value, err = hello() if (err != nil) { // panic }
Compiled javascript
hello() { console.log("Hello world") return true } let { value, err } = [null, null]; try { value = hello() } catch (env_err_344329) { err = env_err_344329; } if (err != nil) { // panic }
← Back