tc39 / proposal-grouped-and-auto-accessors

Grouped Accessors and Auto-Accessors for ECMAScript
https://tc39.es/proposal-grouped-and-auto-accessors
MIT License
57 stars 5 forks source link

What will be context for the case of #set #13

Open bigopon opened 1 year ago

bigopon commented 1 year ago

At the moment, the readme doesn't mention the shape of decorator context for the case of get #set:

class A {
  @deco
  accessor id { get; #set }
}

function deco({}, context) {}

What will be the value of context.private?