2 "This test verifies that Array.prototype.join uses the ToString operator rather than calling element.toString(). \
3 See <a href='http://bugs.webkit.org/show_bug.cgi?id=11524'>bug 11524</a> for more information."
6 var customObject
= {toString
: 0, valueOf: function() { return "custom object"; } };
7 shouldBe("[customObject].join()", "'custom object'");