mirror of
https://github.com/bellard/quickjs.git
synced 2024-11-23 14:18:13 +08:00
7 lines
144 B
JavaScript
7 lines
144 B
JavaScript
|
/* example of JS module importing a C module */
|
||
|
|
||
|
import { fib } from "./fib.so";
|
||
|
|
||
|
console.log("Hello World");
|
||
|
console.log("fib(10)=", fib(10));
|