nashorn/test/script/basic/applycall.js.EXPECTED
author |
jlaskey |
|
Fri, 21 Dec 2012 16:36:24 -0400 |
changeset 16147 |
e63b63819133 |
permissions |
-rw-r--r-- |
8005403: Open-source Nashorn
Reviewed-by: attila, hannesw, lagergren, sundar
Contributed-by: james.laskey@oracle.com, akhil.arora@oracle.com, andreas.woess@jku.at, attila.szegedi@oracle.com, hannes.wallnoefer@oracle.com, henry.jen@oracle.com, marcus.lagergren@oracle.com, pavel.semenov@oracle.com, pavel.stepanov@oracle.com, petr.hejl@oracle.com, petr.pisl@oracle.com, sundararajan.athijegannathan@oracle.com
16147
|
1 |
function call() { [native code] }
|
|
2 |
func.call.length = 1
|
|
3 |
hello,
|
|
4 |
world
|
|
5 |
hello,
|
|
6 |
world
|
|
7 |
hello,
|
|
8 |
world
|
|
9 |
invokedynamic
|
|
10 |
is great!
|
|
11 |
func.apply.length = 2
|
|
12 |
I am func2
|
|
13 |
undefined
|
|
14 |
undefined
|