summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testScriptGetter_JSOP_GETARGPROP.js
blob: 3a865edcf5865e30c1eb990011ddb56089339d7c (plain)
1
2
3
4
5
6
7
function test(a) {
    var s = '';
    for (var i = 0; i < 9; i++)
	s += a.p;
    assertEq(s, 'qqqqqqqqq');
}
test({get p() { return 'q'; }});