mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
This was only used for basic testing, and forced us to plumb this flag flag in a bunch of places.
8 lines
211 B
JavaScript
8 lines
211 B
JavaScript
test("strict mode does not apply global object to |this|", () => {
|
|
"use strict";
|
|
let functionThis;
|
|
(function () {
|
|
functionThis = this;
|
|
})();
|
|
expect(functionThis).toBeUndefined();
|
|
});
|