yt-dlp/test/swftests/DictCall.as

11 wiersze
160 B
ActionScript
Czysty Zwykły widok Historia

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