Why Number(symbol) crashes?

Jordan Harband ljharb at gmail.com
Wed Oct 12 00:53:09 UTC 2016

I'm not sure what you're asking. `Number(Symbol())` throws a TypeError.

Perhaps are you using a Symbol sham (that only partially is able to
polyfill Symbols)?

In what browser/engine are you seeing `NaN`?

On Tue, Oct 11, 2016 at 11:37 AM, Raul-Sebastian Mihăilă <
raul.mihaila at gmail.com> wrote:

> How is NaN useful? Isn't it better to be explicit if you really want a
> string?
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20161011/a9769e2c/attachment.html>

More information about the es-discuss mailing list