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

Method Keys

object_dynamic.go:30–30  ·  view source on GitHub ↗

Keys returns a list of all existing property keys. There are no checks for duplicates or to make sure that the order conforms to https://262.ecma-international.org/#sec-ordinaryownpropertykeys

()

Source from the content-addressed store, hash-verified

28 // Keys returns a list of all existing property keys. There are no checks for duplicates or to make sure
29 // that the order conforms to https://262.ecma-international.org/#sec-ordinaryownpropertykeys
30 Keys() []string
31}
32
33/*

Callers 4

TestObjectKeysFunction · 0.65
iterateStringKeysMethod · 0.65
stringKeysMethod · 0.65

Implementers 2

testDynObjectobject_dynamic_test.go
testSharedDynObjectobject_dynamic_test.go

Calls

no outgoing calls

Tested by 2

TestObjectKeysFunction · 0.52