This might be true in JavaScript but it doesn't have to be. Suppose you create a class to represent complex numbers. You might provide `conjugate( )` and `norm( )` as functions rather than properties. Those should only depend on the object's `re` and `im`, nothing else.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store