summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug699166.js
blob: 1b75e174a2c1aac02b6dc7be5357cfada25c765e (plain)
1
2
3
4
5
6
7
a = "".__proto__
b = String().__proto__
for (var i = 0; i < 2; i++) {
    a.__defineSetter__("valueOf", function() {})
    a + ""
    delete b.valueOf
}