Debian Codegraph @

packages/babel-plugin-proposal-async-do-expressions/test/fixtures/async-do-expressions/lexical-declaration/exec.js

raw
1 const x = async do { let x = 21; x + x };
2
3 expect(x).toBeInstanceOf(Promise);
4 x.then((v) => expect(v).toBe(42)).catch(err => { throw err });