youtube-dl/test/swftests/DictCall.as

11 lines
160 B
ActionScript
Raw Permalink Normal View History

2014-11-16 20:46:23 -06:00
// input: [{"x": 1, "y": 2}]
// output: 3
package {
public class DictCall {
public static function main(d:Object):int{
2014-11-16 20:53:32 -06:00
return d.x + d.y;
2014-11-16 20:46:23 -06:00
}
}
}