{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/immutable-js/issues/383","labels_url":"https://api.github.com/repos/facebook/immutable-js/issues/383/labels{/name}","comments_url":"https://api.github.com/repos/facebook/immutable-js/issues/383/comments","events_url":"https://api.github.com/repos/facebook/immutable-js/issues/383/events","html_url":"https://github.com/facebook/immutable-js/issues/383","id":60629312,"number":383,"title":"Record's toString format has artefacts","user":{"login":"AlgoTrader","id":1556262,"avatar_url":"https://avatars.githubusercontent.com/u/1556262?v=3","gravatar_id":"","url":"https://api.github.com/users/AlgoTrader","html_url":"https://github.com/AlgoTrader","followers_url":"https://api.github.com/users/AlgoTrader/followers","following_url":"https://api.github.com/users/AlgoTrader/following{/other_user}","gists_url":"https://api.github.com/users/AlgoTrader/gists{/gist_id}","starred_url":"https://api.github.com/users/AlgoTrader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlgoTrader/subscriptions","organizations_url":"https://api.github.com/users/AlgoTrader/orgs","repos_url":"https://api.github.com/users/AlgoTrader/repos","events_url":"https://api.github.com/users/AlgoTrader/events{/privacy}","received_events_url":"https://api.github.com/users/AlgoTrader/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-11T09:13:02Z","updated_at":"2015-03-26T18:49:00Z","closed_at":null,"body":"```\r\nrecord.toString()\r\n\" { a: 1, b: 2 }\"\r\n```\r\nThere is a first space character. toString is useful only for inspection, it is not a valid JSON as it has no quotes for keys and strange spaces\r\n\r\nI certailnly want record.toJS(), I want to switch to the old JS world when I need\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/immutable-js/issues/comments/86666492","html_url":"https://github.com/facebook/immutable-js/issues/383#issuecomment-86666492","issue_url":"https://api.github.com/repos/facebook/immutable-js/issues/383","id":86666492,"user":{"login":"ellbee","id":6018379,"avatar_url":"https://avatars.githubusercontent.com/u/6018379?v=3","gravatar_id":"","url":"https://api.github.com/users/ellbee","html_url":"https://github.com/ellbee","followers_url":"https://api.github.com/users/ellbee/followers","following_url":"https://api.github.com/users/ellbee/following{/other_user}","gists_url":"https://api.github.com/users/ellbee/gists{/gist_id}","starred_url":"https://api.github.com/users/ellbee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ellbee/subscriptions","organizations_url":"https://api.github.com/users/ellbee/orgs","repos_url":"https://api.github.com/users/ellbee/repos","events_url":"https://api.github.com/users/ellbee/events{/privacy}","received_events_url":"https://api.github.com/users/ellbee/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T18:49:00Z","updated_at":"2015-03-26T18:49:00Z","body":"Hi @AlgoTrader, I am not able to get record.toString() to fail in the way you are seeing. When name is empty I get Record, and I also get quotes around the keys. \r\n\r\n```javascript\r\n> var Test = Immutable.Record({a: 1, b: 2});\r\n> Test().toString();\r\n'Record { \"a\": 1, \"b\": 2 }'\r\n\r\n> var Test2 = Immutable.Record({a: 1, b: 2}, 'Test2');\r\n> Test2().toString();\r\n'Test2 { \"a\": 1, \"b\": 2 }'\r\n\r\n> var Test3 = Immutable.Record({a: 1, b: 2}, '');\r\n> Test3().toString();\r\n'Record { \"a\": 1, \"b\": 2 }'\r\n```\r\n\r\nAm I missing any steps to reproduce this?"}}