*.empty Idea

Boris Zbarsky bzbarsky at mit.edu
Fri May 1 01:42:02 UTC 2015

On 4/30/15 6:20 PM, C. Scott Ananian wrote:
> In English -- hide the real Set object so that nobody can get to it to
> mutate it.

Sure, but then Set.prototype.has.call() doesn't work on the ReadOnlySet. 
  That might be OK, depending on how you're using it.  But having a 
built-in ReadOnlySet would allow that to work.


More information about the es-discuss mailing list