2 "This test checks that toString() does not have a problem when an object has itself as a property."
6 shouldBe("var array = []; array[0] = array; array + ''", "''");
8 // Error (name, message)
9 shouldBe("var error = new Error; error.name = error; error.message = error; error + ''", "''");
12 shouldBe("var regexp = /a/; regexp.source = regexp; regexp + ''", "'/a/'");