nashorn/test/script/basic/NASHORN-90.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     1
avg.length = 2
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     2
function (x,y) {
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     3
return x + y/ 2
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     4
}
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     5
avg(34, 44) = 56