mirror of
https://github.com/bellard/quickjs.git
synced 2025-09-30 23:07:42 +03:00
2020-01-05 release
This commit is contained in:
6
examples/test_fib.js
Normal file
6
examples/test_fib.js
Normal file
@@ -0,0 +1,6 @@
|
||||
/* example of JS module importing a C module */
|
||||
|
||||
import { fib } from "./fib.so";
|
||||
|
||||
console.log("Hello World");
|
||||
console.log("fib(10)=", fib(10));
|
Reference in New Issue
Block a user