projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[swfinterp] Implement charCodeAt
[youtube-dl]
/
test
/
swftests
/
StringCharCodeAt.as
diff --git a/test/swftests/StringCharCodeAt.as
b/test/swftests/StringCharCodeAt.as
new file mode 100644
(file)
index 0000000..
c20d74d
--- /dev/null
+++ b/
test/swftests/StringCharCodeAt.as
@@ -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();
+ }
+}
+}