nashorn/test/script/basic/JDK-8023026.js.EXPECTED
changeset 19469 a5d34b586cea
child 29133 1cd7d8af99ba
equal deleted inserted replaced
19468:83af7c355e65 19469:a5d34b586cea
       
     1 iterating on an object of class [I
       
     2 forEach 0
       
     3 forEach 1
       
     4 forEach 2
       
     5 forEach 3
       
     6 reduce 0 1
       
     7 reduce 1 2
       
     8 reduce 3 3
       
     9 left sum 6
       
    10 reduceRight 3 2
       
    11 reduceRight 5 1
       
    12 reduceRight 6 0
       
    13 right sum 6
       
    14 squared 0,1,4,9
       
    15 iterating on an object of class java.util.ArrayList
       
    16 forEach 1
       
    17 forEach 3
       
    18 forEach 5
       
    19 forEach 7
       
    20 reduce 1 3
       
    21 reduce 4 5
       
    22 reduce 9 7
       
    23 left sum 16
       
    24 reduceRight 7 5
       
    25 reduceRight 12 3
       
    26 reduceRight 15 1
       
    27 right sum 16
       
    28 squared 1,9,25,49
       
    29 iterating on [object Array]
       
    30 forEach 2
       
    31 forEach 4
       
    32 forEach 6
       
    33 forEach 8
       
    34 reduce 2 4
       
    35 reduce 6 6
       
    36 reduce 12 8
       
    37 left sum 20
       
    38 reduceRight 8 6
       
    39 reduceRight 14 4
       
    40 reduceRight 18 2
       
    41 right sum 20
       
    42 squared 4,16,36,64