{"action":"created","issue":{"url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/13708","repository_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp","labels_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/13708/labels{/name}","comments_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/13708/comments","events_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/13708/events","html_url":"https://github.com/freeCodeCamp/freeCodeCamp/issues/13708","id":211598008,"number":13708,"title":"Arguments Optional when page is loading Chrome opens printer ","user":{"login":"DeanDro","id":20716912,"avatar_url":"https://avatars3.githubusercontent.com/u/20716912?v=3","gravatar_id":"","url":"https://api.github.com/users/DeanDro","html_url":"https://github.com/DeanDro","followers_url":"https://api.github.com/users/DeanDro/followers","following_url":"https://api.github.com/users/DeanDro/following{/other_user}","gists_url":"https://api.github.com/users/DeanDro/gists{/gist_id}","starred_url":"https://api.github.com/users/DeanDro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeanDro/subscriptions","organizations_url":"https://api.github.com/users/DeanDro/orgs","repos_url":"https://api.github.com/users/DeanDro/repos","events_url":"https://api.github.com/users/DeanDro/events{/privacy}","received_events_url":"https://api.github.com/users/DeanDro/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-03-03T05:19:20Z","updated_at":"2017-03-03T05:39:02Z","closed_at":"2017-03-03T05:39:01Z","body":"Challenge [Arguments Optional](https://www.freecodecamp.com/challenges/arguments-optional) has an issue.\r\nUser Agent is: <code>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36</code>.\r\nPlease describe how to reproduce this issue, and include links to screenshots if possible.\r\n\r\n\r\nWhen I am clicking to test my code the printer page is popping up and asks me to print the page. This is not happening when I am using Safari. \r\n\r\nMy code:\r\n```javascript\r\n\r\nfunction addTogether() {\r\n  \r\n  var arg1 = arguments[0];\r\n  var arg2 = arguments[1];\r\n  \r\n  function take_second(){\r\n    print(\"Give me the second value\");\r\n    document.getElementByName('arg2');\r\n    return arg2;\r\n  }\r\n  \r\n  if (arg2===undefined){\r\n    take_second();\r\n  }\r\n  return (arg1+arg2);\r\n}\r\n\r\naddTogether(2,3);\r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/comments/283870487","html_url":"https://github.com/freeCodeCamp/freeCodeCamp/issues/13708#issuecomment-283870487","issue_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/13708","id":283870487,"user":{"login":"erictleung","id":2754821,"avatar_url":"https://avatars1.githubusercontent.com/u/2754821?v=3","gravatar_id":"","url":"https://api.github.com/users/erictleung","html_url":"https://github.com/erictleung","followers_url":"https://api.github.com/users/erictleung/followers","following_url":"https://api.github.com/users/erictleung/following{/other_user}","gists_url":"https://api.github.com/users/erictleung/gists{/gist_id}","starred_url":"https://api.github.com/users/erictleung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erictleung/subscriptions","organizations_url":"https://api.github.com/users/erictleung/orgs","repos_url":"https://api.github.com/users/erictleung/repos","events_url":"https://api.github.com/users/erictleung/events{/privacy}","received_events_url":"https://api.github.com/users/erictleung/received_events","type":"User","site_admin":false},"created_at":"2017-03-03T05:39:01Z","updated_at":"2017-03-03T05:39:01Z","body":"@DeanDro thanks for the issue. The [`print()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/print) command is what is triggering your print popup. \r\n\r\nThis is a standard message notifying you that this issue seems to be a request for help. Instead of asking for help here, please click the \"help\" button on the challenge on Free Code Camp, which will take you to the help chatroom for that specific challenge. You can also view our [full list of official chatrooms](http://forum.freecodecamp.com/t/free-code-camp-official-chat-rooms/19390).\r\n\r\nIf you think I'm wrong in closing this issue, please reopen it and add further clarification. Also, this isn't an issue with the site but with the code you're using. Thank you, and happy coding!"}}
{"actor":{"display_login":"erictleung"}}