[swfinterp] Implement charCodeAt

This commit is contained in:
Philipp Hagemeister 2014-11-17 05:03:46 +01:00
parent 6b592d93a2
commit 33a266f4ba
2 changed files with 36 additions and 1 deletions

View file

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