Why Number(symbol) crashes?

medikoo medikoo+mozilla.org at medikoo.com
Tue Oct 11 09:07:11 UTC 2016

I was searching the archived but wasn't able to find the answer.

What's the reasoning behind having Number(symbol) crash instead of returning
NaN (as it's in case all other non-coercible values?). It feels not

If someone can point me to some discussion that provided the reasoning I'd
be grateful

View this message in context: http://mozilla.6506.n7.nabble.com/Why-Number-symbol-crashes-tp359554.html
Sent from the Mozilla - ECMAScript 4 discussion mailing list archive at Nabble.com.

More information about the es-discuss mailing list