Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem about try-catch #96

Open
Soulike opened this issue Oct 5, 2021 · 0 comments
Open

Problem about try-catch #96

Soulike opened this issue Oct 5, 2021 · 0 comments

Comments

@Soulike
Copy link

Soulike commented Oct 5, 2021

The problem is similar to #95

async function test()
{
    try
    {
        throw new Error();
    }
    catch (err)
    {
        console.log(err);
    }
}

test();

err of catch does not emit declare, and write is not called, too, which means I can't get the value of err.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant