aboutsummaryrefslogtreecommitdiff
path: root/rand/tests/wasm_bindgen/js
diff options
context:
space:
mode:
Diffstat (limited to 'rand/tests/wasm_bindgen/js')
-rw-r--r--rand/tests/wasm_bindgen/js/index.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/rand/tests/wasm_bindgen/js/index.js b/rand/tests/wasm_bindgen/js/index.js
new file mode 100644
index 0000000..a02fb59
--- /dev/null
+++ b/rand/tests/wasm_bindgen/js/index.js
@@ -0,0 +1,7 @@
+'use strict';
+
+const rand_wasm_bindgen_test = require('./rand_wasm_bindgen_test');
+
+console.log(rand_wasm_bindgen_test.generate_from_entropy());
+console.log(rand_wasm_bindgen_test.generate_from_os_rand());
+console.log(rand_wasm_bindgen_test.generate_from_seed());