youtube-dl/test/swftests/StringCharCodeAt.as

12 lines
206 B
ActionScript
Raw Permalink Normal View History

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