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

On Wed, Apr 24, 2013 at 11:04 AM, Anne van Kesteren <annevk@annevk.nl>wrote:

> On Sun, Apr 21, 2013 at 5:21 AM, Mark S. Miller <erights@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/").
>


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

Received on Wednesday, 24 April 2013 15:22:02 UTC