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
1.1.3+2615dc742
Microsoft Windows NT 10.0.22631.0 x64
function foo({ a }) { return a } foo(null)
Anything that does not say "Right side of assignment". I spent a minute looking for the assignment
Here's what V8 gives:
Uncaught TypeError: Cannot destructure property 'a' of 'object null' as it is null. at foo (<anonymous>:1:16) at <anonymous>:4:1
1 | function foo({ a }) { ^ TypeError: Right side of assignment cannot be destructured at foo (D:\projects\test\err.ts:1:21) at D:\projects\test\err.ts:4:1
No response
The text was updated successfully, but these errors were encountered:
This is a JavaScriptCore bug unfortunately. Would you be able to file an issue on WebKit's bug tracker in the JavaScriptCore category?
JavaScriptCore
Sorry, something went wrong.
No branches or pull requests
What version of Bun is running?
1.1.3+2615dc742
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
What is the expected behavior?
Anything that does not say "Right side of assignment". I spent a minute looking for the assignment
Here's what V8 gives:
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: