On 2007-10-21, at 14:48 EDT, Jeff Dyer wrote:

>>
>> The wrapper classes String, Number, Boolean are similar to the
>> (primitive) values they wrap, but they're not really related to those
>> value types in a type sense, and in ES4 the wrappers are of even less
>> utility than in ES3, I would say.
>>
>
> Right, thanks for the correction. This is an obvious consequence of  
> the
> recent return of primitive wrappers to ES4. 'string' is the new  
> 'String'!

Yikes.  I thought 'String' was being kept around so you could extend  
it.  Why is it that 'string' cannot be a sealed sub-type of (the open  
class) 'String'?

_______________________________________________
Es4-discuss mailing list
Es4-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to