DictCall.as 160 B

1234567891011
  1. // input: [{"x": 1, "y": 2}]
  2. // output: 3
  3. package {
  4. public class DictCall {
  5. public static function main(d:Object):int{
  6. return d.x + d.y;
  7. }
  8. }
  9. }