- 23 Jan, 2015 1 commit
-
-
caitpotter88 authored
ES6 Array.prototype.toString falls back on Object.prototype.toString if method "join" is not callable. BUG=v8:3793 LOG=Y R=dslomov@chromium.org, arv@chromium.org Review URL: https://codereview.chromium.org/835753002 Cr-Commit-Position: refs/heads/master@{#26253}
-
- 21 Oct, 2014 1 commit
-
-
dslomov@chromium.org authored
Updates Object.prototype.toString() to use algorithm described in harmony drafts. Currently, the behaviour is essentially the same as ES262's version, however this changes when internal structures such as Promise make use of symbolToStringTag (as they are supposed to, see v8:3241), and changes further once Symbol.toStringTag is exposed publicly. BUG=v8:3241, v8:3502 LOG=N R=dslomov@chromium.org Review URL: https://codereview.chromium.org/546803003 Patch from Caitlin Potter <caitpotter88@gmail.com>. git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24783 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-