blob: 14d47cbf6db4eca6a25f8226ce0e8840e1f696f3 [file] [log] [blame]
function test() {
return new Function("a = 1", "b = 2",
"return a === 3 && b === 2;"
)(3);
}
if (!test())
throw new Error("Test failed");