popFromStringStack removes an object from the toString stack.
()
| 181 | |
| 182 | // popFromStringStack removes an object from the toString stack. |
| 183 | func (r *Runtime) popFromStringStack() { |
| 184 | // Set the last element to nil to allow GC to collect it |
| 185 | r.toStringStack[len(r.toStringStack)-1] = nil |
| 186 | r.toStringStack = r.toStringStack[:len(r.toStringStack)-1] |
| 187 | } |
| 188 | |
| 189 | func (r *Runtime) arrayproto_join(call FunctionCall) Value { |
| 190 | o := call.This.ToObject(r) |
no outgoing calls
no test coverage detected