mirror of
https://github.com/bellard/quickjs.git
synced 2025-12-31 13:49:11 +03:00
2020-01-05 release
This commit is contained in:
6
examples/hello_module.js
Normal file
6
examples/hello_module.js
Normal file
@@ -0,0 +1,6 @@
|
||||
/* example of JS module */
|
||||
|
||||
import { fib } from "./fib_module.js";
|
||||
|
||||
console.log("Hello World");
|
||||
console.log("fib(10)=", fib(10));
|
||||
Reference in New Issue
Block a user