| 1 |
// https://github.com/babel/babel/issues/5817 |
| 2 |
|
| 3 |
class Parent {} |
| 4 |
|
| 5 |
class Table extends Parent { |
| 6 |
constructor() { |
| 7 |
super(); |
| 8 |
this.returnParam = (param) => { |
| 9 |
return param; |
| 10 |
} |
| 11 |
} |
| 12 |
} |
| 13 |
|
| 14 |
const table = new Table(); |
| 15 |
|
| 16 |
expect(table.returnParam(false)).toBe(false); |