()
| 407 | } |
| 408 | |
| 409 | func (r *Runtime) getFunction() *Object { |
| 410 | ret := r.global.Function |
| 411 | if ret == nil { |
| 412 | ret = &Object{runtime: r} |
| 413 | r.global.Function = ret |
| 414 | ret.self = r.createFunction(ret) |
| 415 | } |
| 416 | |
| 417 | return ret |
| 418 | } |
no test coverage detected