* SUMMARY Improve Symbol() to string error message. I'm not sure I agree with he "can't convert to a string" when Symbol().toString() at least provides a string. But still, our error message is super cryptic and needs to be improved. * Safari js> "" + Symbol() TypeError: Type error * Chrome js> "" + Symbol() TypeError: Cannot convert a Symbol value to a string * Firefox js> "" + Symbol() TypeError: can't convert symbol to string * Edge js> "" + Symbol() Object doesn't support property or method 'ToString'
Lol, that's a pretty bad error message. I think it would be worthwhile at some point to vet all of our error messages and make them better.
Created attachment 278031 [details] Patch
Comment on attachment 278031 [details] Patch Thanks!
Comment on attachment 278031 [details] Patch Clearing flags on attachment: 278031 Committed r200402: <http://trac.webkit.org/changeset/200402>
All reviewed patches have been landed. Closing bug.