Mon, 07 Apr 2014 21:57:33 +0530
8039387: Nashorn supports indexed access of List elements, but length property is not supported
Reviewed-by: lagergren, jlaskey
aoqi@0 | 1 | function(x) x*x; |
aoqi@0 | 2 | 625 |
aoqi@0 | 3 | function fun(x) x * (x + 1) / 2; |
aoqi@0 | 4 | 55 |