Dev Checkpoint 201906252113
This commit is contained in:
parent
2a8cb127ec
commit
e7993dca97
3 changed files with 79 additions and 107 deletions
9
Examples/test-suite/javascript/native_directive_runme.js
Normal file
9
Examples/test-suite/javascript/native_directive_runme.js
Normal file
|
|
@ -0,0 +1,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";
|
||||
})();
|
||||
Loading…
Add table
Add a link
Reference in a new issue