David-Sarah Hopwood wrote:
> Erik Arvidsson wrote:
> [...]
>>     Object.freeze(rv);
>>     Object.seal(rv);
>>     Object.preventExtensions(rv);
> 
> Object.seal includes the effect of Object.preventExtensions, so the latter
> is redundant here.

... as is Object.seal, as MarkM pointed out.

-- 
David-Sarah Hopwood ⚥

_______________________________________________
Es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to