1 2 3 4 5 6 7 8 9 10 11
var s = ''; var a = [, 0, 1]; for (var i in a) { a.reverse(); s += i + ','; } // Index of the element with value '0'. assertEq(s, '1,');