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

Function getArrayProtoTemplate

builtin_array.go:1677–1682  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1675var arrayProtoTemplateOnce sync.Once
1676
1677func getArrayProtoTemplate() *objectTemplate {
1678 arrayProtoTemplateOnce.Do(func() {
1679 arrayProtoTemplate = createArrayProtoTemplate()
1680 })
1681 return arrayProtoTemplate
1682}
1683
1684func (r *Runtime) getArrayPrototype() *Object {
1685 ret := r.global.ArrayPrototype

Callers 1

getArrayPrototypeMethod · 0.85

Calls 1

createArrayProtoTemplateFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…