From 2a8e7aeeef99161b6f0378ac14e297c23ca6227b Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Wed, 4 Jun 2025 11:55:34 +0200 Subject: First 4 examples --- 03_threads/program.mjs | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 03_threads/program.mjs (limited to '03_threads/program.mjs') 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 @@ +import Primes from "./build/primes.mjs" + +var primes = await Primes(); + +const count = primes._primes_in_range(1, 100); +console.log("There are " + count + " primes betwees 1 and 100"); -- cgit v1.3