W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2012

Re: [whatwg] URL: URLQuery

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 12 Oct 2012 21:01:44 -0400
Message-ID: <5078BD78.5060800@mit.edu>
To: whatwg@lists.whatwg.org
On 10/12/12 6:02 PM, Glenn Maynard wrote:
> We're throwing away a ton if we suddenly decide not to take advantage of
> JavaScript's native syntax for dictionary-like object access.

As you might have noticed, JS started adding things like Map in part 
because the native dictionary-like access has one significant problem: 
it looks up the prototype chain.

Unless the suggestion is that Object.getPrototypeOf(query.values) === null?

-Boris
Received on Saturday, 13 October 2012 01:02:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:11 GMT