summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug596351-2.js
blob: 2a014ad15a80dc9312805343739e0565520f8024 (plain)
1
2
3
4
5
6
7
// |jit-test| error: TypeError

"use strict"
var g = newGlobal();

g.eval("bar = {}; Object.freeze(bar);");
g.bar.a = 4;