forked from cory/tildefriends
Merge branches/quickjs to trunk. This is the way.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3621 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
6
deps/quickjs/examples/test_fib.js
vendored
Normal file
6
deps/quickjs/examples/test_fib.js
vendored
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