Unnecessary qualifier?

Mark S. Miller erights at google.com
Thu Jan 15 15:40:37 PST 2009 Object.seal(O) and Object.freeze(O) both end with the

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.

-------------- 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