☰
Debian Codegraph
@
8.0.6+ds1+~cs177.303.116-1
8.0.4+ds1+~cs177.303.116-3
7.20.15+ds1+~cs214.269.168-17
/
/
packages
/
babel-plugin-proposal-async-do-expressions
/
test
/
fixtures
/
async-do-expressions
/
hoist-variables-assigned-in-async-context
/
exec.js
☽
☼
packages/babel-plugin-proposal-async-do-expressions/test/fixtures/async-do-expressions/hoist-variables-assigned-in-async-context/exec.js
code
plain
raw
symbols
SCIP
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
const
x = async
do
{
await
Promise
.
resolve
();
var
y =
21
; y + y }
2
3
expect
(y).
toBe
(
undefined
);
4
x.
then
((resolved) => {
5
expect
(y).
toBe
(
21
);
6
expect
(resolved).
toBe
(
42
);
7
}).
catch
(err => {
throw
err });