Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
let x = 'foo'
async function test() {
console.log('top of func', x);
x+= await 'baz'
console.log('bottom of func', x)
}
test()
x = 'bar';
console.log('bottom of file', x);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment