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

Method stringKeys

func.go:230–237  ·  view source on GitHub ↗
(all bool, accum []Value)

Source from the content-addressed store, hash-verified

228}
229
230func (f *funcObject) stringKeys(all bool, accum []Value) []Value {
231 if all {
232 if _, exists := f.values["prototype"]; !exists {
233 accum = append(accum, asciiString("prototype"))
234 }
235 }
236 return f.baseFuncObject.stringKeys(all, accum)
237}
238
239func (f *funcObject) iterateStringKeys() iterNextFunc {
240 if _, exists := f.values["prototype"]; !exists {

Callers

nothing calls this directly

Calls 2

asciiStringTypeAlias · 0.85
stringKeysMethod · 0.65

Tested by

no test coverage detected