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

Method newArrayValues

builtin_array.go:68–70  ·  view source on GitHub ↗
(values []Value)

Source from the content-addressed store, hash-verified

66}
67
68func (r *Runtime) newArrayValues(values []Value) *Object {
69 return setArrayValues(r.newArrayObject(), values).val
70}
71
72func (r *Runtime) newArrayLength(l int64) *Object {
73 return setArrayLength(r.newArrayObject(), l).val

Callers 15

promise_allMethod · 0.95
promise_allSettledMethod · 0.95
promise_anyMethod · 0.95
arrayproto_sortMethod · 0.95
arrayproto_withMethod · 0.95
arrayproto_toReversedMethod · 0.95
arrayproto_toSortedMethod · 0.95
arrayproto_toSplicedMethod · 0.95

Calls 2

newArrayObjectMethod · 0.95
setArrayValuesFunction · 0.85

Tested by

no test coverage detected