W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

[Bug 22391] Sequence or Array

From: <bugzilla@jessica.w3.org>
Date: Wed, 10 Jul 2013 20:14:56 +0000
To: public-script-coord@w3.org
Message-ID: <bug-22391-3890-vOOBXigKJ2@http.www.w3.org/Bugs/Public/>

Domenic Denicola <domenic@domenicdenicola.com> changed:

           What    |Removed                     |Added
                 CC|                            |domenic@domenicdenicola.com

--- Comment #7 from Domenic Denicola <domenic@domenicdenicola.com> ---
One thing to watch out for is to avoid situations where `myDOMThing.arrayProp
!== myDOMThing.arrayProp`. This would occur if you specify properties as having
getters that always return fresh arrays (or that return new, frozen arrays that
represent mutable underlying data).

If you need a non-mutable view into data that could change over time, a method
returning a (non-frozen, snapshot) array seems best to me.

You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 10 July 2013 20:14:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:17 UTC