- From: <bugzilla@jessica.w3.org>
- Date: Wed, 18 Apr 2012 18:45:12 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16767
--- Comment #3 from Boris Zbarsky <bzbarsky@mit.edu> 2012-04-18 18:45:11 UTC ---
Are these objects dictionaries or arrays:
{ length: '1', '0': 'foo' }
{ length: { valueOf: function() { return 1; } }, '0': 'foo' }
?
"JavaScripty" behavior would be that if you try to use them as arrays they act
like arrays. But that's hard to reconcile with the whole "dictionaries are a
hashtable" thing unless you just disallow overloads that can take a dictionary
or an array altogether, right?
--
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 18 April 2012 18:45:15 UTC