[Bug 22509] Some way to express array as readonly and fixed length

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22509

--- Comment #4 from Rick Waldron <waldron.rick@gmail.com> ---
(In reply to comment #3)
> frozen-ness is not the right thing.
> 
> The point of readonly or fixed-length arrays is to return an arraylike
> object to a caller with the following properties:
> 
> 1)  The caller can read things from the arraylike.
> 2)  The caller cannot write things to the arraylike.
> 3)  The _callee_ can write things to the arraylike as needed.
> 
> Most cases where you'd not want the callee to later modify the object just
> want pass-by-value semantics and actual JS arrays.

Got it, thanks for the clarification

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Saturday, 29 June 2013 02:39:47 UTC