ladybird/Libraries/LibJS/Tests/functions/function-assignment-in-arguments.js

5 lines
158 B
JavaScript

test("overwriting this during function call still binds the original", () => {
let tmp = new Map();
// prettier-ignore
tmp.set("", tmp = []);
});