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

Method getArrayIteratorPrototype

builtin_array.go:1741–1750  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1739}
1740
1741func (r *Runtime) getArrayIteratorPrototype() *Object {
1742 var o *Object
1743 if o = r.global.ArrayIteratorPrototype; o == nil {
1744 o = &Object{runtime: r}
1745 r.global.ArrayIteratorPrototype = o
1746 o.self = r.createArrayIterProto(o)
1747 }
1748 return o
1749
1750}
1751
1752type sortable interface {
1753 sortLen() int

Callers 1

createArrayIteratorMethod · 0.95

Calls 1

createArrayIterProtoMethod · 0.95

Tested by

no test coverage detected