{"action":"opened","issue":{"url":"https://api.github.com/repos/learn-co-curriculum/node-js-export-strategies/issues/4","repository_url":"https://api.github.com/repos/learn-co-curriculum/node-js-export-strategies","labels_url":"https://api.github.com/repos/learn-co-curriculum/node-js-export-strategies/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/learn-co-curriculum/node-js-export-strategies/issues/4/comments","events_url":"https://api.github.com/repos/learn-co-curriculum/node-js-export-strategies/issues/4/events","html_url":"https://github.com/learn-co-curriculum/node-js-export-strategies/issues/4","id":219115623,"number":4,"title":"Exports.Property section ","user":{"login":"kevwang424","id":22717330,"avatar_url":"https://avatars1.githubusercontent.com/u/22717330?v=3","gravatar_id":"","url":"https://api.github.com/users/kevwang424","html_url":"https://github.com/kevwang424","followers_url":"https://api.github.com/users/kevwang424/followers","following_url":"https://api.github.com/users/kevwang424/following{/other_user}","gists_url":"https://api.github.com/users/kevwang424/gists{/gist_id}","starred_url":"https://api.github.com/users/kevwang424/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevwang424/subscriptions","organizations_url":"https://api.github.com/users/kevwang424/orgs","repos_url":"https://api.github.com/users/kevwang424/repos","events_url":"https://api.github.com/users/kevwang424/events{/privacy}","received_events_url":"https://api.github.com/users/kevwang424/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-04T01:26:47Z","updated_at":"2017-04-04T01:26:47Z","closed_at":null,"body":"In the power.js file the instructions say to do this on line 4. \r\n`exports.outage = function outage(device) {\r\n  device.currentBrightness = device.maxBrightness = 0;`\r\n\r\nIs this correct? This sets maxBrightness of the device to 0, so when you turnOn() on line 15 and then console log on line 16, it'll be 0. \r\n\r\n`\r\nmyLamp.turnOn();\r\n \r\nconsole.log(`myLamp's current brightness: ${myLamp.currentBrightness}`);\r\npower.surge(myLamp);\r\npower.outage(myLamp);\r\nmyLamp.turnOn();\r\nconsole.log(`myLamp's current brightness: ${myLamp.currentBrightness}`);`\r\n\r\n"}}
{"actor":{"display_login":"kevwang424"}}