2 "This will test Array.toString with circular references. If an element contains a reference to itself or one of its children (at any depth) contains a reference to it, it will be skipped. This can result in either a trailing ',' (if the self reference is at the end of the array) or ',,' if the self reference is contained at some mid point in the array."
7 shouldBe("ary1.toString()", "'1,2,'");
13 shouldBe("ary1.toString()", "'1,2,3,4,'");
16 shouldBe("ary1.toString()", "'1,2,3,4,,5'");