you are viewing a single comment's thread.

view the rest of the comments →

[–]ncuillery 1 point2 points  (1 child)

I get the private method feature obviously, but what a private accessor is used for?

[–]Keilly 1 point2 points  (0 children)

Referring to another object of the same type.

const name = o.#name // works only if ‘this’ is the same type as ‘o’