MCPcopy Create free account
hub / github.com/dop251/goja / popFromStringStack

Method popFromStringStack

builtin_array.go:183–187  ·  view source on GitHub ↗

popFromStringStack removes an object from the toString stack.

()

Source from the content-addressed store, hash-verified

181
182// popFromStringStack removes an object from the toString stack.
183func (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
189func (r *Runtime) arrayproto_join(call FunctionCall) Value {
190 o := call.This.ToObject(r)

Callers 2

arrayproto_joinMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected