Why not? The following needs to be transformed:

```js
class C {
  m() {
    return {
      n() {}
    };
  }
}
```