(name unistring.String)
| 17 | } |
| 18 | |
| 19 | func (a *argumentsObject) getOwnPropStr(name unistring.String) Value { |
| 20 | if mapped, ok := a.values[name].(*mappedProperty); ok { |
| 21 | if mapped.writable && mapped.enumerable && mapped.configurable { |
| 22 | return *mapped.v |
| 23 | } |
| 24 | return &valueProperty{ |
| 25 | value: *mapped.v, |
| 26 | writable: mapped.writable, |
| 27 | configurable: mapped.configurable, |
| 28 | enumerable: mapped.enumerable, |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | return a.baseObject.getOwnPropStr(name) |
| 33 | } |
| 34 | |
| 35 | func (a *argumentsObject) init() { |
| 36 | a.baseObject.init() |
no test coverage detected