ES4 draft: Name

Erik Arvidsson erik.arvidsson at gmail.com
Mon Mar 17 16:28:20 PDT 2008


Should there be some informative text explaining that Names are
immutable (non dynamic, final and only constant fields) so interning
Name objects is something that might be useful for implementations?

2008/3/17 Lars Hansen <lhansen at adobe.com>:
> Draft 3 of the spec for the Name class.  Changelog near the beginning.
>
>  The main change is that Name extends Object (not String) and that ===,
>  ==, !==, and != operate not on object identity or on string
>  representation but directly on the (qualifier,identifier) pair.  (A
>  draft of an enumerability spec that justifies these changes is
>  forthcoming.)
>
>  --lars
>
> _______________________________________________
>  Es4-discuss mailing list
>  Es4-discuss at mozilla.org
>  https://mail.mozilla.org/listinfo/es4-discuss
>
>



-- 
erik



More information about the Es4-discuss mailing list