Comment #2 on issue 3554 by [email protected]: String(symbol) should work
https://code.google.com/p/v8/issues/detail?id=3554#c2

The following revision refers to this bug:
https://chromium.googlesource.com/external/v8.git/+/6b660f2812d09ab35c46dbb32aeb52c21b65b896

commit 6b660f2812d09ab35c46dbb32aeb52c21b65b896
Author: [email protected] <[email protected]>
Date: Fri Sep 12 16:17:27 2014

ES6: String(symbol) should work like symbol.toString

Using String as a function and passing a symbol should return the
same  value as if Symbol.prototype.toString was called.

http://people.mozilla.org/~jorendorff/es6-draft.html#sec-string-constructor-string-value

BUG=v8:3554
LOG=Y
[email protected], rossberg

Review URL: https://codereview.chromium.org/564863002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23923 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

[modify] https://chromium.googlesource.com/external/v8.git/+/6b660f2812d09ab35c46dbb32aeb52c21b65b896/src/string.js [modify] https://chromium.googlesource.com/external/v8.git/+/6b660f2812d09ab35c46dbb32aeb52c21b65b896/test/mjsunit/es6/symbols.js [modify] https://chromium.googlesource.com/external/v8.git/+/6b660f2812d09ab35c46dbb32aeb52c21b65b896/test/mjsunit/harmony/private.js


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to