An alternative to a writable 'length' property, is to make it configurable and
nonwritable. It would prevent the issue of accidental assignments to the
'length' property that used be ignored in non-strict mode (they'll still be
ignored), but it would allow to modify its value using
Claude Pache wrote:
An alternative to a writable 'length' property, is to make it configurable and
nonwritable. It would prevent the issue of accidental assignments to the
'length' property that used be ignored in non-strict mode (they'll still be
ignored), but it would allow to modify its
[+google-caja-discuss]
I don't see any problems for SES. cc'ing google-caja-discuss in case
someone there spots something I missed. Anyone?
Assuming there are no problems, I like this for all the reasons stated.
On Tue, Feb 26, 2013 at 11:22 AM, Brendan Eich bren...@mozilla.com wrote:
On Feb 26, 2013, at 11:22 AM, Brendan Eich wrote:
Claude Pache wrote:
An alternative to a writable 'length' property, is to make it configurable
and nonwritable. It would prevent the issue of accidental assignments to the
'length' property that used be ignored in non-strict mode (they'll
Allen Wirfs-Brock wrote:
Like I've said before, I play the long game. Eventually you usually come
around:-)
Except when you're off target :-P.
But good long-game on this one -- well played!
/be
___
es-discuss mailing list
es-discuss@mozilla.org
5 matches
Mail list logo