Source code
Revision control
Copy as Markdown
Other Tools
function test(a) {
var s = '';
for (var i = 0; i < 9; i++)
s += a.p;
assertEq(s, 'qqqqqqqqq');
}
test({get p() { return 'q'; }});
function test(a) {
var s = '';
for (var i = 0; i < 9; i++)
s += a.p;
assertEq(s, 'qqqqqqqqq');
}
test({get p() { return 'q'; }});