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

Method getArrayValues

builtin_array.go:1723–1730  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1721}
1722
1723func (r *Runtime) getArrayValues() *Object {
1724 ret := r.global.arrayValues
1725 if ret == nil {
1726 ret = r.newNativeFunc(r.arrayproto_values, "values", 0)
1727 r.global.arrayValues = ret
1728 }
1729 return ret
1730}
1731
1732func (r *Runtime) getArrayToString() *Object {
1733 ret := r.global.arrayToString

Callers 6

checkStdArrayIterMethod · 0.95
exportToArrayOrSliceMethod · 0.80
createArrayProtoTemplateFunction · 0.80
execMethod · 0.80
execMethod · 0.80
exportToArrayOrSliceMethod · 0.80

Calls 1

newNativeFuncMethod · 0.95

Tested by

no test coverage detected