MCPcopy Create free account
hub / github.com/bytecodealliance/ComponentizeJS / bar

Method bar

test/cases/resource-with-lists/source.js:21–27  ·  view source on GitHub ↗
(list)

Source from the content-addressed store, hash-verified

19 }
20
21 bar(list) {
22 const suffix = new TextEncoder().encode(" Thing.bar")
23 let result = new Uint8Array(list.length + suffix.length)
24 result.set(list)
25 result.set(suffix, list.length)
26 this.value.bar(result)
27 }
28
29 static baz(list) {
30 const suffix = new TextEncoder().encode(" Thing.baz")

Callers

nothing calls this directly

Calls 1

setMethod · 0.80

Tested by

no test coverage detected