{"action":"opened","issue":{"url":"https://api.github.com/repos/radiovisual/xmark/issues/2","repository_url":"https://api.github.com/repos/radiovisual/xmark","labels_url":"https://api.github.com/repos/radiovisual/xmark/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/radiovisual/xmark/issues/2/comments","events_url":"https://api.github.com/repos/radiovisual/xmark/issues/2/events","html_url":"https://github.com/radiovisual/xmark/issues/2","id":132153580,"number":2,"title":"multiple arguments should print inline, like console.log()","user":{"login":"radiovisual","id":5614571,"avatar_url":"https://avatars.githubusercontent.com/u/5614571?v=3","gravatar_id":"","url":"https://api.github.com/users/radiovisual","html_url":"https://github.com/radiovisual","followers_url":"https://api.github.com/users/radiovisual/followers","following_url":"https://api.github.com/users/radiovisual/following{/other_user}","gists_url":"https://api.github.com/users/radiovisual/gists{/gist_id}","starred_url":"https://api.github.com/users/radiovisual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radiovisual/subscriptions","organizations_url":"https://api.github.com/users/radiovisual/orgs","repos_url":"https://api.github.com/users/radiovisual/repos","events_url":"https://api.github.com/users/radiovisual/events{/privacy}","received_events_url":"https://api.github.com/users/radiovisual/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-08T14:17:51Z","updated_at":"2016-02-08T14:17:51Z","closed_at":null,"body":"xmark should mirror the functionality of console.log(), where items are printed inline:\r\n\r\n```js\r\nconsole.log(1, 2);\r\n//=> 1 2\r\n```\r\n\r\nBut currently, this is the behavior:\r\n\r\n```js\r\nxmark(1, 2);\r\n//=> 1\r\n//=> 2\r\n```\r\n\r\nThis is happening because the arguments passed to `xmark` get [converted to an array](https://github.com/radiovisual/xmark/blob/master/index.js#L6), and each item in the array gets its own `console.log()` statement. Instead, the output should be combined to a string and logged all at once. So you get this:\r\n\r\n```js\r\nxmark(1, 2);\r\n//=> 1 2\r\n```\r\n\r\n\r\n"}}