summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/parser/home-object-getter.js
blob: d4ee62acc9e37439ff1512e13683193b5cc34051 (plain)
1
2
3
4
var o = {get a() {
    return eval("5");
}}
assertEq(o.a, 5);