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

Method assertConstructor

destruct.go:167–169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

165}
166
167func (d *destructKeyedSource) assertConstructor() func(args []Value, newTarget *Object) *Object {
168 return d.w().assertConstructor()
169}
170
171func (d *destructKeyedSource) proto() *Object {
172 return d.w().proto()

Callers

nothing calls this directly

Calls 2

wMethod · 0.95
assertConstructorMethod · 0.65

Tested by

no test coverage detected