facebook/regenerator

Sandbox bug report

VladVladVladbot opened this issue · 0 comments

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
}
}