Unnecessary qualifier?

Mark S. Miller erights at google.com
Thu Jan 15 15:40:37 PST 2009


15.2.3.8 Object.seal(O) and 15.2.3.9 Object.freeze(O) both end with the
qualification

The above algorithm is specified as a set of sequential steps that include
> the possibility of a exception
> being thrown as various intermediate points. Rather than failing after a
> partial update of O, this
> function must be implemented such that it either atomically completes all
> property updates
> successfully or fails without making any update to the properties of object
> O.


AFAICT, the algorithm specified for these two operations can't fail, so
these qualifications may not be necessary.

-- 
   Cheers,
   --MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20090115/cae5cadf/attachment.html>


More information about the Es-discuss mailing list