About private names

Andrew Dupont mozilla at andrewdupont.net
Sun Mar 20 10:55:58 PDT 2011


On Mar 20, 2011, at 12:22 PM, Allen Wirfs-Brock wrote:

> Oops mind fart:
> 
> Make that obj.foo===obj[0]
> 
> The point is that what follows the dot ia already evaluated differently than what comes between brackets

Right; I think Dean and I are saying that this would be the first time obj.foo meant something different from obj['foo']. And to ascertain that those two meant different things, I'd have to go searching through the code for a `private foo` declaration.

Cheers,
Andrew


More information about the es-discuss mailing list