Skip to content

Truly independent web browser

183 B
Raw Blame
test("Assigning to an invalid destructuring assignment target should fail immediately", () => {
    expect(() => {
        eval("[[function=a{1,}=");
    }).toThrow(SyntaxError);
});