boa
boa copied to clipboard
Uncaught TypeError when calling method on global object
Calling a method of the global object (using this/ globalThis) results in a TypeError.
To Reproduce This JavaScript code reproduces the issue:
this.hasOwnProperty("length")
Expected behavior
true is printed
Actual behavior
Uncaught "TypeError": "not a callable function" is printed.
Additional context At least one test in the test suite requires the expected behavior above.