This is a testharness.js-based test.
[FAIL] eval of string where default policy mutates value throws.
assert_throws_js: function "_ => eval('1+1')" did not throw
[FAIL] indirect eval of string where default policy mutates value throws.
assert_throws_js: function "_ => eval?.('1+1')" did not throw
[FAIL] Function constructor with string where default policy mutates value throws.
assert_throws_js: function "_ => new Function('return 1+1')" did not throw
Harness: the test ran to completion.