Y
Hacker News
new
|
ask
|
show
|
jobs
by
manigandham
2712 days 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.