Go stdlib package — syscall/js. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.CopyBytesToGo()NeutralCopyBytesToGo(dst []byte, src Value) int
CopyBytesToGo copies bytes from src to dst.
.CopyBytesToJS()NeutralCopyBytesToJS(dst Value, src []byte) int
CopyBytesToJS copies bytes from src to dst.
.Func.Release()NeutralFunc.Release()
Release frees up resources allocated for the function.
.FuncOf()NeutralFuncOf(fn func(this Value, args []Value) any) Func
FuncOf returns a function to be used by JavaScript.
.Global()NeutralGlobal() Value
Global returns the JavaScript global object, usually "window" or "global".
| FQN | Field | |
|---|---|---|
| syscall/js | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
// standard library — no go.mod entry required
from codepathfinder.go_rule import ... # syscall/js