Implicit coercion of Symbols
impinball at gmail.com
Tue Jan 13 19:35:23 PST 2015
> From: Domenic Denicola <d at domenic.me>
> To: Rick Waldron <waldron.rick at gmail.com>, es-discuss <es-discuss at mozilla.org>
> Date: Mon, 12 Jan 2015 18:02:17 +0000
> Subject: RE: Implicit coercion of Symbols
> I re-read through this whole thread and realized nobody brought up the fact that this *specific* change, of making `String(symbol)` work while `symbol+""` throws, was discussed and agreed upon previously:
> - https://esdiscuss.org/topic/string-symbol
> - https://github.com/tc39/tc39-notes/blob/master/es6/2014-09/sept-23.md#41-spec-status-report
> I realize people are presumably having second thoughts, but I thought it'd be worth linking to the previous thread for anyone who hasn't seen it and thinks this is a new debate.
Good catch. I wouldn't have been surprised if nobody even thought of
it until now (in this discussion, anyways).
More information about the es-discuss