[whatwg] [URL] DOM API Feedback

Tab Atkins Jr. jackalmage at gmail.com
Mon Nov 19 09:07:06 PST 2012


On Mon, Nov 19, 2012 at 8:22 AM, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> On 11/19/12 11:20 AM, Tab Atkins Jr. wrote:
>> To a first approximation, they shouldn't be.  ES6 classes desugar into
>> functions and prototypes.
>
> Hmm.  They didn't completely at some point, but maybe something got changed
> since I last looked.
>
> "first approximation" is not great if we actually expect people to implement
> stuff interoperably, not just interoperably to a first approximation.  ;)

I think it's valid to say in general, I'm just not 100% sure.  I only
follow es-discuss, I'm not part of tc39 and don't actually track
things too closely.

Even if it doesn't, the part of "subclassing" that you need to make
"URLQuery as subclass of Map" work is doable with existing ES5.

~TJ



More information about the whatwg mailing list