We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
foo ?= bar: true baz: false
compiles quite unexpectedly to:
if (typeof foo === "undefined" || foo === null) { foo = { bar: true }; } ({ baz: false });
Adding parenthesis makes it work again, but since normal assignment works also without parenthesis this can easily result in strange errors in code.
The text was updated successfully, but these errors were encountered:
Duplicate of #1961 and #1974, fixed by 62a331a on master. Related: #2135
master
Sorry, something went wrong.
Quick work, good to hear it's already fixed for next version. :)
No branches or pull requests
compiles quite unexpectedly to:
Adding parenthesis makes it work again, but since normal assignment works also without parenthesis this can easily result in strange errors in code.
The text was updated successfully, but these errors were encountered: