test/script/basic/NASHORN-148.js.EXPECTED

Mon, 07 Apr 2014 21:57:33 +0530

author
sundar
date
Mon, 07 Apr 2014 21:57:33 +0530
changeset 830
3cb09c560108
parent 0
b1a7da25b547
permissions
-rw-r--r--

8039387: Nashorn supports indexed access of List elements, but length property is not supported
Reviewed-by: lagergren, jlaskey

     1 func.x = 3.14
     2 func.arguments[0] = 3.14
     3 func.x = world
     4 func.arguments[0] = world
     5 func.x = changed x
     6 func.arguments[0] = changed x
     7 func.x = changed x
     8 func.arguments[0] = undefined
     9 func.x = changed x
    10 func.arguments[0] = 42
    11 func.x = 33
    12 func.arguments[0] = 42
    13 func2.x = 1
    14 func2.arguments[0] = 3434
    15 func2.y = 3
    16 func2.arguments[1] = 3
    17 func2.y = 54
    18 func2.arguments[1] = 54
    19 func2.y = 67
    20 func2.arguments[1] = 67

mercurial