Given that there is currently no way to get a string representation of a value in a guaranteed side-effect-free fashion, I think something generalized for all primitive and object types would be ideal.
> On Jan 3, 2015, at 9:17 PM, Axel Rauschmayer <[email protected]> wrote: > > Does it have to be a Reflect.* method? It could be > `Symbol.prototype.getDescription()` or a getter. > >> On 04 Jan 2015, at 02:25, Brendan Eich <[email protected] >> <mailto:[email protected]>> wrote: >> >> Rick Waldron wrote: >>> That example above is pretty compelling for throw always consistency. >> >> With a new Reflect.* API for converting a symbol to its diagnostic/debugging >> string? >> >> If you agree, please file a bugs.ecmascript.org >> <http://bugs.ecmascript.org/> ticket. >> >> /be >> _______________________________________________ >> es-discuss mailing list >> [email protected] <mailto:[email protected]> >> https://mail.mozilla.org/listinfo/es-discuss > > -- > Dr. Axel Rauschmayer > [email protected] <mailto:[email protected]> > rauschma.de > > > > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

