ladybird/Libraries/LibJS/Tests/async-this-value.js

8 lines
172 B
JavaScript

test("this value in async function", () => {
function X() {
this.boog = async () => {
this.f = await null;
};
}
new X().boog();
});