Wed, 15 May 2013 20:21:59 +0200
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 |