MCPcopy Create free account
hub / github.com/bytecodealliance/component-docs / run.js

File run.js

component-model/examples/tutorial/js/adder/run.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { add } from "./dist/transpiled/adder.js";
2
3console.log("1 + 2 = " + add.add(1, 2));

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected