On 29 September 2012 20:14, Rick Waldron <[email protected]> wrote: > Offline discussion with Dave that immediately identified a deal-breaker: if > typeof symbol were "string", it would break ===. > > === for strings is based on their contents > === for objects is based on their identity
Well, that's clearly up to interpretation. Instead of having "identity", you can just as well view symbols as something with unique abstract "content". That is, I disagree that this alone is a deal-breaker of any kind. But nevertheless, of course, using typeof symbol === "string" would be bad for other reasons, some of which have been brought up in this thread. /Andreas _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

