(s *Symbol, value, receiver Value, throw bool)
| 679 | } |
| 680 | |
| 681 | func (p *proxyObject) proxySetSym(s *Symbol, value, receiver Value, throw bool) bool { |
| 682 | target := p.target |
| 683 | if v, ok := p.checkHandler().setSym(target, s, value, receiver); ok { |
| 684 | if p.proxySetPreCheck(v, throw, s) { |
| 685 | p.proxySetPostCheck(target.self.getOwnPropSym(s), value, s) |
| 686 | return true |
| 687 | } |
| 688 | return false |
| 689 | } |
| 690 | return target.setSym(s, value, receiver, throw) |
| 691 | } |
| 692 | |
| 693 | func (p *proxyObject) setOwnStr(name unistring.String, v Value, throw bool) bool { |
| 694 | return p.proxySetStr(name, v, p.val, throw) |
no test coverage detected