Version
v24.1.0
Platform
Microsoft Windows NT 10.0.26100.0 x64
Subsystem
No response
What steps will reproduce the bug?
Hi,
I wanted to report a bug which can be reproduced by running the following snippet:
function f() {
var obj = "foo" //if you comment this and run, you will get same result as bun and deno in node
"use strict";
return this === undefined;
}
console.log(f()); // node : false deno and bun : true
How often does it reproduce? Is there a required condition?
No specific condition
What is the expected behavior? Why is that the expected behavior?
true
What do you see instead?
false
Additional information
No response
Version
v24.1.0
Platform
Subsystem
No response
What steps will reproduce the bug?
Hi,
I wanted to report a bug which can be reproduced by running the following snippet:
How often does it reproduce? Is there a required condition?
No specific condition
What is the expected behavior? Why is that the expected behavior?
true
What do you see instead?
false
Additional information
No response