youtube-dl/test/swftests/StringCharCodeAt.as

12 lines
206 B
ActionScript
Raw Permalink Normal View History

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