1 Test that Java arrays work with generic JS array methods.
3 Also test that they work when passed as the second argument to apply(). This may or may not be correct behavior per LiveConnect spec.
6 PASS array[0] + '' is 'One'
7 PASS array[1] + '' is 'Three'
8 PASS array[2] + '' is 'Two'
10 PASS array[0] + '' is 'One'
11 PASS array[1] + '' is 'Three'
12 PASS array[2] + '' is 'Two'
13 passing array as function arguments, potentially parser-optimized apply
14 PASS concat.apply({}, array) is 'OneTwoThree'
15 passing array as function arguments, unoptimized apply
16 PASS concat["apply"]({}, array) is 'OneTwoThree'
17 PASS array.length = 5 threw exception RangeError: Range error.
18 PASS successfullyParsed is true