blob: 5c1d69cf17e2a86f62efceaf1500f3c70f128211 (
plain)
1
2
3
4
5
6
7
8
9
|
var native_directive = require("native_directive");
(function main() {
var s = "abc.DEF-123";
if (native_directive.CountAlphas(s) !== 6)
throw "CountAlphas failed";
if (native_directive.CountAlphaCharacters(s) !== 6)
throw "CountAlphaCharacters failed";
})();
|