extracting namespace from a property

Brendan Eich brendan at mozilla.org
Thu Mar 1 04:18:19 PST 2007


On Mar 1, 2007, at 12:07 PM, Brendan Eich wrote:

> Standard vs. string mode does not change the default for a class  
> that lacks an explicit 'dynamic' qualifier.

s/string mode/strict mode/ of course

> There's a fine line. If typeof n == 'string' is not helpful, then I  
> would prefer to make typeof n == 'object'. Spidering the visible  
> web can only produce counter-examples showing how we might help  
> someone with an incompatible "bug fix" -- it can't prove that we  
> won't break someone else.

Assuming spidering does not find evidence that the change will break  
public web content, of course. You can't prove a negative. Still, we  
should try to find for-in ~~> typeof id == 'string' dependencies.  
I'll ask our spider-guy to start looking.

/be




More information about the Es4-discuss mailing list