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

Function add

component-model/examples/tutorial/js/adder/adder.js:2–4  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

1export const add = {
2 add(x, y) {
3 return x + y;
4 }
5};

Callers 1

_export_add_cabiFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected