test/script/basic/NASHORN-90.js.EXPECTED

Wed, 15 May 2013 20:21:59 +0200

author
attila
date
Wed, 15 May 2013 20:21:59 +0200
changeset 270
19e9cd9c7010
parent 0
b1a7da25b547
permissions
-rw-r--r--

8014647: Allow class-based overrides to be initialized with a ScriptFunction
Reviewed-by: hannesw, jlaskey, sundar

aoqi@0 1 avg.length = 2
aoqi@0 2 function (x,y) {
aoqi@0 3 return x + y/ 2
aoqi@0 4 }
aoqi@0 5 avg(34, 44) = 56

mercurial