Skip to content

Commit 3b8dfbf

Browse files
committed
Fix factorial demo
Thanks, #d3x0r!
1 parent 638ddb7 commit 3b8dfbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/wat2wasm/examples.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ for (let i = 0; i < 10; i++) {
4444
name: 'factorial',
4545
contents:
4646
`(module
47-
(func (export "fac") (param f64) (result f64)
47+
(func $fac (export "fac") (param f64) (result f64)
4848
local.get 0
4949
f64.const 1
5050
f64.lt

0 commit comments

Comments
 (0)