1 2 3 4 5 6
thrown = false try { ("".x = Object.seal) "".x.valueOf(); } catch (e) {thrown = true} assertEq(thrown, true);