Re: [whatwg] Canvas: dash list API

On Sat, Dec 22, 2012 at 3:07 PM, Cameron McCormack <cam@mcc.id.au> wrote:
> If we don't have the type checking of array elements, and also don't need
> any noticing of individual element assignments, then we can just have a
> reference to a plain Array object and look at its elements at the time the
> dash array is needed.  That could preserve the author expectation that after
> assigning a new Array object to the property you would get the same object
> back when getting the property.

If we make fileList and such assignable you'd also have this
discrepancy. I think that's okay. Alternatively, or in addition, we
can have new NumberArray(Array).


-- 
http://annevankesteren.nl/

Received on Saturday, 22 December 2012 14:16:43 UTC