aboutsummaryrefslogtreecommitdiff
path: root/03_threads/program.mjs
diff options
context:
space:
mode:
Diffstat (limited to '03_threads/program.mjs')
-rw-r--r--03_threads/program.mjs6
1 files changed, 6 insertions, 0 deletions
diff --git a/03_threads/program.mjs b/03_threads/program.mjs
new file mode 100644
index 0000000..a5a89ce
--- /dev/null
+++ b/03_threads/program.mjs
@@ -0,0 +1,6 @@
1import Primes from "./build/primes.mjs"
2
3var primes = await Primes();
4
5const count = primes._primes_in_range(1, 100);
6console.log("There are " + count + " primes betwees 1 and 100");

Generated with cgit - Back to sebastiano.tronto.net