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

Method setProto

object.go:189–189  ·  view source on GitHub ↗
(proto *Object, throw bool)

Source from the content-addressed store, hash-verified

187 assertConstructor() func(args []Value, newTarget *Object) *Object
188 proto() *Object
189 setProto(proto *Object, throw bool) bool
190 hasInstance(v Value) bool
191 isExtensible() bool
192 preventExtensions(throw bool) bool

Callers 9

SetPrototypeMethod · 0.65
setProtoMethod · 0.65
setProtoMethod · 0.65
functionCtorMethod · 0.65
setProtoMethod · 0.65
setObjectProtoMethod · 0.65
object_setPrototypeOfMethod · 0.65
setProtoMethod · 0.65

Implementers 2

baseObjectobject.go

Calls

no outgoing calls

Tested by

no test coverage detected