proposal-class-access-expressions icon indicating copy to clipboard operation
proposal-class-access-expressions copied to clipboard

Support Destructuring Assignment?

Open whzx5byb opened this issue 10 months ago • 0 comments

Is it possible to support this syntax?

class C {
  static f() { ... }
  
  g() {
    const { f } = class; // equivalent to `const f = class.f`
  }
}

whzx5byb avatar Jan 24 '25 05:01 whzx5byb