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