nashorn/test/script/basic/closure.js.EXPECTED
author attila
Fri, 26 Apr 2013 09:20:37 +0200
changeset 17249 a2014831ae7a
parent 16147 e63b63819133
child 24778 2ff5d7041566
permissions -rw-r--r--
8013325: function named 'arguments' should set DEFINES_ARGUMENTS flag in its parent, not itself Reviewed-by: hannesw, sundar
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
}