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

Method Construct

func.go:300–302  ·  view source on GitHub ↗
(ccall ConstructorCall)

Source from the content-addressed store, hash-verified

298}
299
300func (f *classFuncObject) Construct(ccall ConstructorCall) *Object {
301 return f.construct(ccall.Arguments, ccall.NewTarget)
302}
303
304func (f *classFuncObject) export(*objectExportCtx) interface{} {
305 return f.Construct

Callers

nothing calls this directly

Calls 1

constructMethod · 0.95

Tested by

no test coverage detected