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
What do you see instead?
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
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