Skip to content

Commit 87343e7

Browse files
committed
[tests] Add test for static reflection on string
1 parent 9127a0b commit 87343e7

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package unit.issues;
2+
3+
class Issue12838 extends Test {
4+
function test() {
5+
eq(Reflect.callMethod(null, Reflect.field(String, "fromCharCode"), [65]), "A");
6+
}
7+
}

0 commit comments

Comments
 (0)