(p unistring.String, v Value, throw bool)
| 140 | } |
| 141 | |
| 142 | func (o *templatedObject) setOwnStr(p unistring.String, v Value, throw bool) bool { |
| 143 | existing := o.getOwnPropStr(p) // materialise property (in case it's an accessor) |
| 144 | if existing == nil { |
| 145 | o.materialiseProto() |
| 146 | o.materialisePropNames() |
| 147 | } |
| 148 | return o.baseObject.setOwnStr(p, v, throw) |
| 149 | } |
| 150 | |
| 151 | func (o *templatedObject) setOwnSym(name *Symbol, val Value, throw bool) bool { |
| 152 | o.materialiseSymbols() |
nothing calls this directly
no test coverage detected