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

Method defineOwnPropertySym

object_template.go:242–245  ·  view source on GitHub ↗
(s *Symbol, descr PropertyDescriptor, throw bool)

Source from the content-addressed store, hash-verified

240}
241
242func (o *templatedObject) defineOwnPropertySym(s *Symbol, descr PropertyDescriptor, throw bool) bool {
243 o.materialiseSymbols()
244 return o.baseObject.defineOwnPropertySym(s, descr, throw)
245}
246
247func (o *templatedObject) deleteStr(name unistring.String, throw bool) bool {
248 if val := o.getOwnPropStr(name); val != nil {

Callers

nothing calls this directly

Calls 2

materialiseSymbolsMethod · 0.95
defineOwnPropertySymMethod · 0.65

Tested by

no test coverage detected