mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 09:27:00 +02:00
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();
|
|
});
|