Re:Advanced objects in JavaScript
by Tloewald on Tuesday August 26, 2014 @09:23AM
(#8226919)
What a convoluted mechanism! But where do you keep your reference to the symbol to keep it private? Anywhere you keep it (e.g. in a closure somewhere) that's private doesn't need symbols, so what problem does this solve?
And surely in your private context, bar.foo should still work.
And surely in your private context, bar.foo should still work.