MCPcopy Create free account
hub / github.com/dop251/goja / getPrototypeOf

Method getPrototypeOf

proxy.go:177–179  ·  view source on GitHub ↗
(target *Object)

Source from the content-addressed store, hash-verified

175}
176
177func (h *jsProxyHandler) getPrototypeOf(target *Object) (Value, bool) {
178 return h.proxyCall(proxy_trap_getPrototypeOf, target)
179}
180
181func (h *jsProxyHandler) setPrototypeOf(target *Object, proto *Object) (bool, bool) {
182 var protoVal Value

Callers

nothing calls this directly

Calls 1

proxyCallMethod · 0.95

Tested by

no test coverage detected