prosperon/quickjs/examples/hello_module.js

7 lines
130 B
JavaScript
Raw Normal View History

2023-04-22 14:07:37 -05:00
/* example of JS module */
import { fib } from "./fib_module.js";
console.log("Hello World");
console.log("fib(10)=", fib(10));