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

Function newObjectTemplate

object_template.go:46–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44}
45
46func newObjectTemplate() *objectTemplate {
47 return &objectTemplate{
48 props: make(map[unistring.String]templatePropFactory),
49 }
50}
51
52func (t *objectTemplate) putStr(name unistring.String, f templatePropFactory) {
53 t.props[name] = f

Callers 15

createDateTemplateFunction · 0.85
createDateProtoTemplateFunction · 0.85
createMathTemplateFunction · 0.85
createArrayProtoTemplateFunction · 0.85
createNumberTemplateFunction · 0.85
createBigIntTemplateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…