You really explained it great, I personally think it’s hard to understand for someone who worked with i.e. java that accessibility is just a convention.
I wouldn’t have posted the code example on how to access private properties and functions, because with this you demonstrate the opposite purpose.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.