()
| 1739 | } |
| 1740 | |
| 1741 | func (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 | |
| 1752 | type sortable interface { |
| 1753 | sortLen() int |
no test coverage detected