ES6,ES7,ES8 and beyond. A Proposed Roadmap.

David Bruant bruant.d at gmail.com
Wed Apr 24 08:25:21 PDT 2013


Le 24/04/2013 17:20, Dean Landolt a écrit :
> On Wed, Apr 24, 2013 at 11:04 AM, Anne van Kesteren <annevk at annevk.nl 
> <mailto:annevk at annevk.nl>> wrote:
>
>     On Sun, Apr 21, 2013 at 5:21 AM, Mark S. Miller
>     <erights at google.com <mailto:erights at google.com>> wrote:
>     > Thoughts?
>
>     I was wondering when operator overloading is planned. It would be
>     great to be able to do things like new URL("http://example.org") ==
>     new URL("http://example.org/").
>
The same object could be returned if immutable

> I'm not sure if there are any plans for overloading but value objects 
> [1] will solve the specific use case you gave.
>
> [1] http://wiki.ecmascript.org/doku.php?id=strawman:value_objects
value proxies could be used too I think 
http://wiki.ecmascript.org/doku.php?id=strawman:value_proxies

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130424/07dd0b83/attachment.html>


More information about the es-discuss mailing list