- From: Anne van Kesteren <annevk@annevk.nl>
- Date: Thu, 7 Jun 2012 16:18:16 +0200
- To: Boris Zbarsky <bzbarsky@mit.edu>
- Cc: public-script-coord@w3.org
On Thu, Jun 7, 2012 at 4:11 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> There are a bunch of differences (the properties don't have to be on
> prototypes, etc), but the real question you seem to be asking is why we have
> dictionaries in the first place, no? Why do we?
We added them for object initialization. In particular for event
constructors (but they are used elsewhere too now):
new MouseEvent("click", {"clientX":23, "clientY":50})
--
Anne — Opera Software
http://annevankesteren.nl/
http://www.opera.com/
Received on Thursday, 7 June 2012 14:18:46 UTC