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 --- 01_library/program.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 01_library/program.js (limited to '01_library/program.js') diff --git a/01_library/program.js b/01_library/program.js new file mode 100644 index 0000000..5cfc6c5 --- /dev/null +++ b/01_library/program.js @@ -0,0 +1,6 @@ +var library = require("./build/library.js"); + +library.onRuntimeInitialized = () => { + const result = library._multiply(6, 7); + console.log("The answer is " + result); +}; -- cgit v1.3