()
| 1682 | } |
| 1683 | |
| 1684 | func (r *Runtime) getArrayPrototype() *Object { |
| 1685 | ret := r.global.ArrayPrototype |
| 1686 | if ret == nil { |
| 1687 | ret = &Object{runtime: r} |
| 1688 | r.global.ArrayPrototype = ret |
| 1689 | r.newTemplatedArrayObject(getArrayProtoTemplate(), ret) |
| 1690 | } |
| 1691 | return ret |
| 1692 | } |
| 1693 | |
| 1694 | func (r *Runtime) getArray() *Object { |
| 1695 | ret := r.global.Array |
no test coverage detected