| 1 |
(module |
| 2 |
(import "env" "unwrap" (func $unwrap (param (ref eq)) (result anyref))) |
| 3 |
(import "js" "jsPrint" (func $print (param anyref))) |
| 4 |
(func (export "jsPrint") (param $x (ref eq)) (result (ref eq)) |
| 5 |
(call $print (call $unwrap (local.get $x))) |
| 6 |
(ref.i31 (i32.const 0))) |
| 7 |
) |