Open sapphi-red opened 1 month ago
this in exported function should be undefined.
this
undefined
export function foo() { return this // this is undefined }
https://stackblitz.com/edit/node-7bhlmx?file=index.js
node index.js
Assertion failed: result should be undefined
No message is output
No response
Browser name = Chrome Full version = 129.0.0.0 Major version = 129 navigator.appName = Netscape navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 performance.memory = { "totalJSHeapSize": 88197450, "usedJSHeapSize": 84717194, "jsHeapSizeLimit": 4294705152 } Hash = 134daa3c
Describe the bug
this
in exported function should beundefined
.Link to the blitz that caused the error
https://stackblitz.com/edit/node-7bhlmx?file=index.js
Steps to reproduce
node index.js
Assertion failed: result should be undefined
message is outputExpected behavior
No message is output
Parity with Local
Screenshots
No response
Platform
Additional context
No response