Files
ladybird/Userland/Libraries/LibJS/Tests/functions/function-strict-mode.js
Ryan Chandler c66b281856 LibJS: Fix functions binding this to global object in strict mode
This fixes an issue where this would be bound to the global object
by default when operating in strict mode.

According to the specification, the expected value for |this| when
no binding is provided is undefined.
2021-06-04 13:00:37 +01:00

1.7 KiB