Open vdata1 opened 3 hours ago
1.1.30
Darwin 23.6.0 x86_64 i386
Hi,
I want to repot an unusual behaviour in bun, comparing it to Node.js and deno. Please consider the following code example:
WeakMap = function() {console.log("Executed in Deno and Node, but not in Bun");} new WeakMap([]);
Thanks,
AH
It should run the function block.
Nothing
No response
See #12333. For what it's worth, I think we should have enabled the flag in the runtime. It only causes confusion otherwise.
thanks for the feedback, @paperdave !
What version of Bun is running?
1.1.30
What platform is your computer?
Darwin 23.6.0 x86_64 i386
What steps can reproduce the bug?
Hi,
I want to repot an unusual behaviour in bun, comparing it to Node.js and deno. Please consider the following code example:
Thanks,
AH
What is the expected behavior?
It should run the function block.
What do you see instead?
Nothing
Additional information
No response