Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
maxfurman
7y ago
0 comments
Share
I've read the TC39 proposal and I still don't understand what's wrong with "private".
0 comments
default
newest
oldest
manigandham
7y ago
You can have a public field named the same as a private field and all fields in JS are accessed by "
this.fieldname
" so you need a way to access the private field differently.
j
/
k
navigate · click thread line to collapse