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
Bug with destructuring args in a try/catch in an async function #5462
Comments
Hey @mattkrick! We really appreciate you taking the time to report an issue. The collaborators If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack |
What is
? {
"presets": ["env"]
} ? |
This is a transpilation done on the babel website
…On Mar 14, 2017 2:07 PM, "Fernando Montoya" ***@***.***> wrote:
What is
babeljs.io standard config
?
{
"presets": ["env"]
}
?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5462 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AFQjv0c-7DFzRVt-MQMyyFb1YRtCe6VAks5rlwGqgaJpZM4MbmB_>
.
|
Closing this issue because it is a duplicate. Thank you for taking the time to report though 😄 |
Input Code
Babel Configuration (.babelrc, package.json, cli command)
babeljs.io standard config
Expected Behavior
Current Behavior
Possible Solution
Reference the destructured args:
Context
Made a try/catch wrapper for calling stripe. it bugs out! But then when i put a
console.log
in there, it works fine, which makes it extra confusing.A call might look like this:
Your Environment
babeljs.io
The text was updated successfully, but these errors were encountered: