Created
November 2, 2017 02:17
-
-
Save cakoose/dc4171cc52c63ddd0d812f5cd008beec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
err Error: wat | |
at f (main.html:6) | |
at <anonymous> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
async function blah() {}; | |
async function f() { | |
await blah(); | |
throw new Error('wat'); | |
} | |
async function g() { | |
await blah(); | |
await f(); | |
} | |
g().then(() => { | |
console.log('done'); | |
}, (err) => { | |
console.log('err', err); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment