nashorn/test/script/basic/closure.js.EXPECTED
author sundar
Wed, 18 Sep 2013 13:06:17 +0530
changeset 20209 92c2787c959a
parent 16147 e63b63819133
child 24778 2ff5d7041566
permissions -rw-r--r--
8024972: for (LeftHandSideExpression in Expression) crashes the compiler Reviewed-by: lagergren, hannesw
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     1
10 20
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     2
10 undefined
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     3
10 20
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     4
10,20
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     5
function test4(a, b){ 
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     6
    print(arguments[0] + "," + arguments[1]); 
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     7
    print(arguments.callee);
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     8
}