rdking / proposal-class-members

https://zenparsing.github.io/js-classes-1.1/
7 stars 0 forks source link

Private symbol approach #13

Closed rdking closed 5 years ago

rdking commented 5 years ago

Updates to the documentation to use private Symbols as a means to circumvent issues with Proxy.

mbrowne commented 5 years ago

Great work on the documentation! I think there is a typo in the first code example though:

  print() {
    console.log(`x = ${v}`);
  }

I think that's supposed to be:

  print() {
    console.log(`x = ${x}`);
  }
rdking commented 5 years ago

Yeah, still working on a few things. I'm about to check in a load of corrections and updates. Other than the occasional mistake, how well does it get the point across?

mbrowne commented 5 years ago

I think it's very good and developer-friendly overall.