- From: <bugzilla@jessica.w3.org>
- Date: Wed, 01 Jul 2015 22:25:16 +0000
- To: public-script-coord@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28875
Jonas Sicking <jonas@sicking.cc> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonas@sicking.cc
--- Comment #3 from Jonas Sicking <jonas@sicking.cc> ---
Javascript has a lot of quirks. I think trying to work around those quirks in a
random set of DOM APIs is only going to make the platform even more quirky.
What's special about [EnforceRange] here? It seems like you'd see the same set
of quirky behavior for any API that accepts a number. Consider for example
x = [1, 2];
x.length = 0; // Removes all items for x
x.length = {}; // Throws and leaves x unaffected
x.length = []; // Removes all items for x
x.length = ""; // Removes all items for x
--
You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 1 July 2015 22:25:18 UTC