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

Method init

object_goarray_reflect.go:66–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64}
65
66func (o *objectGoArrayReflect) init() {
67 o._init()
68 o.updateLen()
69 o.putIdx = o._putIdx
70}
71
72func (o *objectGoArrayReflect) updateLen() {
73 o.lengthProp.value = intToValue(int64(o.fieldsValue.Len()))

Callers

nothing calls this directly

Calls 2

_initMethod · 0.95
updateLenMethod · 0.95

Tested by

no test coverage detected