yt-dlp/test/swftests/DictCall.as

11 lines
160 B
ActionScript

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