StringCharCodeAt.as 206 B

123456789101112
  1. // input: []
  2. // output: 9897
  3. package {
  4. public class StringCharCodeAt {
  5. public static function main():int{
  6. var s:String = "abc";
  7. return s.charCodeAt(1) * 100 + s.charCodeAt();
  8. }
  9. }
  10. }