On Thu, Jun 12, 2014 at 3:56 PM, Mark S. Miller <erig...@google.com> wrote: > I like this list. I prefer #c. > * We have previously succeeded at making previously non-generic methods > generic. I think we could get away with #c. > * It is easier for a normal JS programmer to do the equivalent of #c for > most of their classes.
FWIW, if a change to the spec is needed, I also favor (c). Both generic options (b) and (c) have consistent behavior that can extend to `#valueOf`. In option (b) you would presumably invoke `Object#valueOf` and for option (c) you'd return the "zero" value. --scott _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss