blob: 348087b1844d9816bfb5907ec85626892d682574 (
plain)
1
2
3
4
5
6
7
8
9
|
function testStringResolve() {
var x = 0;
for each (let d in [new String('q'), new String('q'), new String('q')]) {
if (("" + (0 in d)) === "true")
x++;
}
return x;
}
assertEq(testStringResolve(), 3);
|