diff options
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -93,11 +93,15 @@ $ bin/asm2wasm test/hello_world.asm.js That input file contains ```javascript +function () { + "use asm"; function add(x, y) { x = x | 0; y = y | 0; return x + y | 0; } + return { add: add }; +} ``` You should see something like this: |