facebook / regenerator

Source transformer enabling ECMAScript 6 generator functions in JavaScript-of-today.
http://facebook.github.io/regenerator/
MIT License
3.83k stars 1.16k forks source link

Sandbox bug report #654

Closed VladVladVladbot closed 1 year ago

VladVladVladbot commented 1 year ago

function *foo(url) { try { console.log(requesting url: ${url}}) var a = yield request(url) console.log(a) } catch(err) { console.log(Oops\n${err}) return false } }