(this, v Value)
| 524 | } |
| 525 | |
| 526 | func (p *valueProperty) set(this, v Value) { |
| 527 | if p.setterFunc == nil { |
| 528 | p.value = v |
| 529 | return |
| 530 | } |
| 531 | call, _ := p.setterFunc.self.assertCallable() |
| 532 | call(FunctionCall{ |
| 533 | This: this, |
| 534 | Arguments: []Value{v}, |
| 535 | }) |
| 536 | } |
| 537 | |
| 538 | func (p *valueProperty) SameAs(other Value) bool { |
| 539 | if otherProp, ok := other.(*valueProperty); ok { |
nothing calls this directly
no test coverage detected