Alternative to Function.bind [nitpick]

David-Sarah Hopwood david.hopwood at industrial-designers.co.uk
Fri Mar 27 09:46:07 PDT 2009


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 ⚥



More information about the Es-discuss mailing list