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

Method assertConstructor

object.go:187–187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

185 assertCallable() (call func(FunctionCall) Value, ok bool)
186 vmCall(vm *vm, n int)
187 assertConstructor() func(args []Value, newTarget *Object) *Object
188 proto() *Object
189 setProto(proto *Object, throw bool) bool
190 hasInstance(v Value) bool

Callers 11

_newProxyObjectMethod · 0.65
arraySpeciesCreateFunction · 0.65
array_fromMethod · 0.65
array_ofMethod · 0.65
createInstanceMethod · 0.65
execMethod · 0.65
toConstructorMethod · 0.65
functionproto_bindMethod · 0.65
AssertConstructorFunction · 0.65
speciesConstructorObjMethod · 0.65
assertConstructorMethod · 0.65

Implementers 2

baseObjectobject.go

Calls

no outgoing calls

Tested by

no test coverage detected