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.

-Boris

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

Reply via email to