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

Method getKey

vm.go:220–226  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

218}
219
220func (r *objRef) getKey() Value {
221 if !r.nameConverted {
222 r.name = toPropertyKey(r.name)
223 r.nameConverted = true
224 }
225 return r.name
226}
227
228func (r *objRef) get() Value {
229 return r.base.get(r.getKey(), r.this)

Callers 4

getMethod · 0.95
setMethod · 0.95
initMethod · 0.95
refnameMethod · 0.95

Calls 1

toPropertyKeyFunction · 0.85

Tested by

no test coverage detected