()
| 36 | OuterBase.prototype.x = 'right'; |
| 37 | class Outer extends OuterBase { |
| 38 | m2() { |
| 39 | let my_proto = { |
| 40 | __proto__ : {'x': 'wrong' }, |
| 41 | m: () => super.x, |
| 42 | }; |
| 43 | let o = {__proto__: my_proto}; |
| 44 | return o.m(); |
| 45 | } |
| 46 | } |
| 47 | assertEquals('right', (new Outer()).m2()); |
| 48 | })(); |
no test coverage detected