youtube-dl/test/swftests/StringCharCodeAt.as

12 wiersze
206 B
ActionScript

// input: []
// output: 9897
package {
public class StringCharCodeAt {
public static function main():int{
var s:String = "abc";
return s.charCodeAt(1) * 100 + s.charCodeAt();
}
}
}