dust3d/thirdparty/quickjs/quickjs-2019-07-09-dust3d/examples/hello_module.js

7 lines
130 B
JavaScript
Raw Normal View History

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