Community
Participate
Working Groups
Is this even legal for JavaScript? It is restricted in RBD. Use the EUNIT framework to test these variations library tester s1 string; nS1 string?; actualInt int; expectedInt int; actualStr string; expectedStr string; function runCharacterUtilFunction21(){@Test} s1 = "abcdef "; actualInt = s1.charCodeAt(2); expectedInt = 98; LogResult.assertBigIntEqual1(expectedInt, actualInt); end function runCharacterUtilFunction22(){@Test} s1 = "12345"; actualInt = s1.charCodeAt(2); expectedInt = 50; LogResult.assertBigIntEqual1(expectedInt, actualInt); end end
Fixed; according to Matt, this should be supported for JavaScript in EDT.
Verified 20111010901 & closed