ES6 Array.prototype.toString falls back on Object.prototype.toString if method "join...
authorcaitpotter88 <caitpotter88@gmail.com>
Fri, 23 Jan 2015 15:21:29 +0000 (07:21 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 23 Jan 2015 15:21:44 +0000 (15:21 +0000)
commit12af28309a125acfe428e8cbbe2a1754d6b87f07
tree16bf422067bc984b400554baccbc4568290bd90a
parentc7b09aac317dd810d29b82061973199b80363b65
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}
src/array.js
src/harmony-tostring.js
test/mjsunit/es6/array-tostring.js [new file with mode: 0644]
test/mjsunit/es6/object-tostring.js