yt-dlc/test/swftests/DictCall.as

11 lines
157 B
ActionScript
Raw Normal View History

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