()
| 1001 | } |
| 1002 | |
| 1003 | func (r *Runtime) getStringIteratorPrototype() *Object { |
| 1004 | var o *Object |
| 1005 | if o = r.global.StringIteratorPrototype; o == nil { |
| 1006 | o = &Object{runtime: r} |
| 1007 | r.global.StringIteratorPrototype = o |
| 1008 | o.self = r.createStringIterProto(o) |
| 1009 | } |
| 1010 | return o |
| 1011 | } |
| 1012 | |
| 1013 | func createStringProtoTemplate() *objectTemplate { |
| 1014 | t := newObjectTemplate() |
no test coverage detected