youtube-dl/test/swftests/StringCharCodeAt.as

12 lines
206 B
ActionScript
Raw Normal View History

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