(target *Object, prop unistring.String, desc PropertyDescriptor)
| 209 | } |
| 210 | |
| 211 | func (h *jsProxyHandler) definePropertyStr(target *Object, prop unistring.String, desc PropertyDescriptor) (bool, bool) { |
| 212 | return h.boolProxyCall(proxy_trap_defineProperty, target, stringValueFromRaw(prop), desc.toValue(h.handler.runtime)) |
| 213 | } |
| 214 | |
| 215 | func (h *jsProxyHandler) definePropertyIdx(target *Object, prop valueInt, desc PropertyDescriptor) (bool, bool) { |
| 216 | return h.boolProxyCall(proxy_trap_defineProperty, target, prop.toString(), desc.toValue(h.handler.runtime)) |
nothing calls this directly
no test coverage detected