Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
22
func
(r *Runtime) newArrayObject() *arrayObject {
23
return
r.newArray(r.getArrayPrototype())
24
}
25
26
func
setArrayValues(a *arrayObject, values []Value) *arrayObject {
27
a.values = values
Callers
3
newArrayValues
Method · 0.95
newArrayLength
Method · 0.95
exec
Method · 0.80
Calls
2
newArray
Method · 0.95
getArrayPrototype
Method · 0.95
Tested by
no test coverage detected