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

Method _init

object_goarray_reflect.go:59–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57}
58
59func (o *objectGoArrayReflect) _init() {
60 o.objectGoReflect.init()
61 o.class = classArray
62 o.prototype = o.val.runtime.getArrayPrototype()
63 o.baseObject._put("length", &o.lengthProp)
64}
65
66func (o *objectGoArrayReflect) init() {
67 o._init()

Callers 2

initMethod · 0.95
initMethod · 0.80

Calls 3

getArrayPrototypeMethod · 0.80
initMethod · 0.65
_putMethod · 0.45

Tested by

no test coverage detected