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

Method newArrayObject

builtin_array.go:22–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20}
21
22func (r *Runtime) newArrayObject() *arrayObject {
23 return r.newArray(r.getArrayPrototype())
24}
25
26func setArrayValues(a *arrayObject, values []Value) *arrayObject {
27 a.values = values

Callers 3

newArrayValuesMethod · 0.95
newArrayLengthMethod · 0.95
execMethod · 0.80

Calls 2

newArrayMethod · 0.95
getArrayPrototypeMethod · 0.95

Tested by

no test coverage detected