yt-dlp/test/swftests/StringCharCodeAt.as

12 lines
206 B
ActionScript
Raw Normal View History

2014-11-16 23:03:46 -05:00
// input: []
// output: 9897
package {
public class StringCharCodeAt {
public static function main():int{
var s:String = "abc";
return s.charCodeAt(1) * 100 + s.charCodeAt();
}
}
}