{"action":"created","issue":{"url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/16354","repository_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp","labels_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/16354/labels{/name}","comments_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/16354/comments","events_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/16354/events","html_url":"https://github.com/freeCodeCamp/freeCodeCamp/issues/16354","id":284954372,"node_id":"MDU6SXNzdWUyODQ5NTQzNzI=","number":16354,"title":"ES6: Use export to Reuse a Code Block - fails looking for exports keyword instead of export","user":{"login":"mstellaluna","id":22984739,"node_id":"MDQ6VXNlcjIyOTg0NzM5","avatar_url":"https://avatars3.githubusercontent.com/u/22984739?v=4","gravatar_id":"","url":"https://api.github.com/users/mstellaluna","html_url":"https://github.com/mstellaluna","followers_url":"https://api.github.com/users/mstellaluna/followers","following_url":"https://api.github.com/users/mstellaluna/following{/other_user}","gists_url":"https://api.github.com/users/mstellaluna/gists{/gist_id}","starred_url":"https://api.github.com/users/mstellaluna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstellaluna/subscriptions","organizations_url":"https://api.github.com/users/mstellaluna/orgs","repos_url":"https://api.github.com/users/mstellaluna/repos","events_url":"https://api.github.com/users/mstellaluna/events{/privacy}","received_events_url":"https://api.github.com/users/mstellaluna/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-12-28T17:08:00Z","updated_at":"2018-07-10T06:16:26Z","closed_at":"2017-12-28T21:37:24Z","author_association":"CONTRIBUTOR","body":"<!-- freeCodeCamp Issue Template -->\r\n\r\n<!-- Please provide as much detail as possible for us to fix your issue -->\r\n<!-- Remove any heading sections you did not fill out -->\r\n\r\n<!-- NOTE: If your issue is CodePen Project / Test Suite related, please open it using the below URL instead -->\r\n<!-- https://github.com/freeCodeCamp/testable-projects-fcc/issues/new -->\r\n\r\n#### Challenge Name\r\nhttps://beta.freecodecamp.org/en/challenges/es6/use-export-to-reuse-a-code-block\r\n\r\n\r\n#### Issue Description\r\n<!-- Describe below when the issue happens and how to reproduce it -->\r\nWhen attempting to export the variable in two different methods, the challenge fails with \"exports is not defined\"\r\n\r\n\r\n#### Browser Information\r\n<!-- Describe your workspace in which you are having issues-->\r\n\r\nBrowser Name, Version:\r\nOperating System: FireFox 57.0 (64-bit) and Chrome Version 63.0.3239.84 (Official Build) (64-bit)\r\nMobile, Desktop, or Tablet: Laptop Windows 10 Professional 64-bit\r\n\r\n#### Your Code\r\n<!-- If relevant, paste all of your challenge code in here -->\r\n```js\r\n\r\n\r\nMethod 1:\r\n\r\n`\"use strict()\";\r\nexport const foo = \"bar\";\r\nexport const boo = \"far\";`\r\n\r\nMethod 2:\r\n\r\n`\"use strict()\";\r\nconst foo = \"bar\";\r\nconst boo = \"far\";\r\n\r\nexport {foo, boo};`\r\n\r\n\r\n```\r\n#### Screenshot\r\n<!-- Add a screenshot of your issue -->\r\n\r\nMethod 1:\r\n![image](https://user-images.githubusercontent.com/22984739/34417647-9c01c74e-ebc7-11e7-8f1d-5a13650b27ce.png)\r\n\r\nMethod 2: \r\n\r\n![image](https://user-images.githubusercontent.com/22984739/34417682-bdef0e7a-ebc7-11e7-9fad-30fabb3c1893.png)\r\n"},"comment":{"url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/comments/403712654","html_url":"https://github.com/freeCodeCamp/freeCodeCamp/issues/16354#issuecomment-403712654","issue_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/16354","id":403712654,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzcxMjY1NA==","user":{"login":"mohitsinghdz","id":17109008,"node_id":"MDQ6VXNlcjE3MTA5MDA4","avatar_url":"https://avatars0.githubusercontent.com/u/17109008?v=4","gravatar_id":"","url":"https://api.github.com/users/mohitsinghdz","html_url":"https://github.com/mohitsinghdz","followers_url":"https://api.github.com/users/mohitsinghdz/followers","following_url":"https://api.github.com/users/mohitsinghdz/following{/other_user}","gists_url":"https://api.github.com/users/mohitsinghdz/gists{/gist_id}","starred_url":"https://api.github.com/users/mohitsinghdz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohitsinghdz/subscriptions","organizations_url":"https://api.github.com/users/mohitsinghdz/orgs","repos_url":"https://api.github.com/users/mohitsinghdz/repos","events_url":"https://api.github.com/users/mohitsinghdz/events{/privacy}","received_events_url":"https://api.github.com/users/mohitsinghdz/received_events","type":"User","site_admin":false},"created_at":"2018-07-10T06:16:26Z","updated_at":"2018-07-10T06:16:26Z","author_association":"NONE","body":"why not \"export {foo, bar}\" working?"}}
{"actor":{"display_login":"mohitsinghdz"}}