quickjs/examples/hello_module.js
2020-09-06 18:53:08 +02:00

6 lines
130 B
JavaScript

/* example of JS module */
import { fib } from "./fib_module.js";
console.log("Hello World");
console.log("fib(10)=", fib(10));