{"action":"opened","issue":{"url":"https://api.github.com/repos/NYBOSLA/everyday_practice/issues/5","repository_url":"https://api.github.com/repos/NYBOSLA/everyday_practice","labels_url":"https://api.github.com/repos/NYBOSLA/everyday_practice/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/NYBOSLA/everyday_practice/issues/5/comments","events_url":"https://api.github.com/repos/NYBOSLA/everyday_practice/issues/5/events","html_url":"https://github.com/NYBOSLA/everyday_practice/issues/5","id":359338002,"node_id":"MDU6SXNzdWUzNTkzMzgwMDI=","number":5,"title":"變數","user":{"login":"NYBOSLA","id":34123337,"node_id":"MDQ6VXNlcjM0MTIzMzM3","avatar_url":"https://avatars2.githubusercontent.com/u/34123337?v=4","gravatar_id":"","url":"https://api.github.com/users/NYBOSLA","html_url":"https://github.com/NYBOSLA","followers_url":"https://api.github.com/users/NYBOSLA/followers","following_url":"https://api.github.com/users/NYBOSLA/following{/other_user}","gists_url":"https://api.github.com/users/NYBOSLA/gists{/gist_id}","starred_url":"https://api.github.com/users/NYBOSLA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NYBOSLA/subscriptions","organizations_url":"https://api.github.com/users/NYBOSLA/orgs","repos_url":"https://api.github.com/users/NYBOSLA/repos","events_url":"https://api.github.com/users/NYBOSLA/events{/privacy}","received_events_url":"https://api.github.com/users/NYBOSLA/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-12T06:49:13Z","updated_at":"2018-09-12T06:49:13Z","closed_at":null,"author_association":"OWNER","body":"變數\r\n\r\n> 字串、數字、布林\r\n\r\n\r\n#### 寫法\r\n\r\n> var 名稱=    ;\r\n> \r\n> console.log(名稱)\r\n> \r\nor \r\n> alert();\r\n\r\n#### 使用ID\r\n>document.getElementById('').textContent =變數名稱;\r\n\r\n#### 運算\r\n```\r\nvar price=3;\r\nvar total=price *3;\r\nvar polite='hello';\r\nvar Name='sharon'\r\nvar totalPrice=price+total\r\nconsole.log(polite+Name)\r\n```\r\n```\r\nvar cookiePrice=35;\r\nvar myMoney=15;\r\nvar total=cookPrice-myMoney;\r\nconsole.log(total);\r\n\r\n```\r\n\r\n> undefined的意思代表， 變數沒有被賦予"}}
{"actor":{"display_login":"NYBOSLA"}}