nashorn/test/script/basic/applycall.js.EXPECTED
author sundar
Wed, 06 May 2015 20:04:42 +0530
changeset 30394 72a59e4dffea
parent 16147 e63b63819133
permissions -rw-r--r--
8079470: Misleading error message when explicit signature constructor is called with wrong arguments Reviewed-by: jlaskey, hannesw
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     1
function call() { [native code] }
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     2
func.call.length = 1
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     3
hello, 
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     4
world
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     5
hello, 
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     6
world
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     7
hello, 
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     8
world
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     9
invokedynamic
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    10
 is great!
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    11
func.apply.length = 2
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    12
I am func2
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    13
undefined
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    14
undefined