{"action":"created","comment":{"url":"https://api.github.com/repos/asciidwango/js-primer/pulls/comments/153818285","pull_request_review_id":79883190,"id":153818285,"diff_hunk":"@@ -0,0 +1,43 @@\n+---\n+author: laco\n+---\n+\n+# 非推奨の機能\n+\n+JavaScriptにはイディオム（慣用的な書き方）や文法のなかには、\n+ECMAScriptのアップデートによって不要になったり非推奨になったりした古い書き方がいくつもあります。\n+そのような書き方はこれから書かれるJavaScriptの中で使わないようにすべきですが、\n+既存の古いコードのなかで使われていたときに読めなければ困るでしょう。\n+この章では、そのような一般的に非推奨とされるJavaScriptの書き方を紹介します。\n+\n+## `arguments`による可変長引数\n+\n+`arguments`変数はその関数に渡された引数が格納される特殊な変数です。","path":"source/basic/bad-parts/README.md","position":15,"original_position":15,"commit_id":"4e36351868476e85ebca2205f969d0aea7457226","original_commit_id":"4e36351868476e85ebca2205f969d0aea7457226","user":{"login":"azu","id":19714,"avatar_url":"https://avatars1.githubusercontent.com/u/19714?v=4","gravatar_id":"","url":"https://api.github.com/users/azu","html_url":"https://github.com/azu","followers_url":"https://api.github.com/users/azu/followers","following_url":"https://api.github.com/users/azu/following{/other_user}","gists_url":"https://api.github.com/users/azu/gists{/gist_id}","starred_url":"https://api.github.com/users/azu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azu/subscriptions","organizations_url":"https://api.github.com/users/azu/orgs","repos_url":"https://api.github.com/users/azu/repos","events_url":"https://api.github.com/users/azu/events{/privacy}","received_events_url":"https://api.github.com/users/azu/received_events","type":"User","site_admin":false},"body":"非推奨のものがジャンル関係なく並ぶと思うので凝縮性が高いと飛ばし飛ばしで読みやすくなる気がする。\r\n\r\nなので\r\n\r\n\r\n## 非推奨のもの\r\n\r\n- 代替え方法: xxx \r\n\r\nみたいheader付近だけをみて結論までわかるようにするのもありかなと思った。\r\n(代替え方法という語彙はなんかもっとスッキリしたいけど、箇条書きで代わりの方法？または非推奨な理由が示せると見やすくなりそう)","created_at":"2017-11-29T15:22:20Z","updated_at":"2017-11-29T15:24:17Z","html_url":"https://github.com/asciidwango/js-primer/pull/326#discussion_r153818285","pull_request_url":"https://api.github.com/repos/asciidwango/js-primer/pulls/326","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/asciidwango/js-primer/pulls/comments/153818285"},"html":{"href":"https://github.com/asciidwango/js-primer/pull/326#discussion_r153818285"},"pull_request":{"href":"https://api.github.com/repos/asciidwango/js-primer/pulls/326"}}},"pull_request":{"url":"https://api.github.com/repos/asciidwango/js-primer/pulls/326","id":155096356,"html_url":"https://github.com/asciidwango/js-primer/pull/326","diff_url":"https://github.com/asciidwango/js-primer/pull/326.diff","patch_url":"https://github.com/asciidwango/js-primer/pull/326.patch","issue_url":"https://api.github.com/repos/asciidwango/js-primer/issues/326","number":326,"state":"open","locked":false,"title":"[wip] 非推奨の機能のテンプレート","user":{"login":"lacolaco","id":1529180,"avatar_url":"https://avatars3.githubusercontent.com/u/1529180?v=4","gravatar_id":"","url":"https://api.github.com/users/lacolaco","html_url":"https://github.com/lacolaco","followers_url":"https://api.github.com/users/lacolaco/followers","following_url":"https://api.github.com/users/lacolaco/following{/other_user}","gists_url":"https://api.github.com/users/lacolaco/gists{/gist_id}","starred_url":"https://api.github.com/users/lacolaco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lacolaco/subscriptions","organizations_url":"https://api.github.com/users/lacolaco/orgs","repos_url":"https://api.github.com/users/lacolaco/repos","events_url":"https://api.github.com/users/lacolaco/events{/privacy}","received_events_url":"https://api.github.com/users/lacolaco/received_events","type":"User","site_admin":false},"body":"#142 を書いていく上での書き方のテンプレートを作る","created_at":"2017-11-28T15:07:10Z","updated_at":"2017-11-29T15:24:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5fc74573088b75c197bfdd25bf189c7ccbdf6aeb","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/asciidwango/js-primer/pulls/326/commits","review_comments_url":"https://api.github.com/repos/asciidwango/js-primer/pulls/326/comments","review_comment_url":"https://api.github.com/repos/asciidwango/js-primer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/asciidwango/js-primer/issues/326/comments","statuses_url":"https://api.github.com/repos/asciidwango/js-primer/statuses/4e36351868476e85ebca2205f969d0aea7457226","head":{"label":"asciidwango:basic-badparts","ref":"basic-badparts","sha":"4e36351868476e85ebca2205f969d0aea7457226","user":{"login":"asciidwango","id":10266070,"avatar_url":"https://avatars3.githubusercontent.com/u/10266070?v=4","gravatar_id":"","url":"https://api.github.com/users/asciidwango","html_url":"https://github.com/asciidwango","followers_url":"https://api.github.com/users/asciidwango/followers","following_url":"https://api.github.com/users/asciidwango/following{/other_user}","gists_url":"https://api.github.com/users/asciidwango/gists{/gist_id}","starred_url":"https://api.github.com/users/asciidwango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asciidwango/subscriptions","organizations_url":"https://api.github.com/users/asciidwango/orgs","repos_url":"https://api.github.com/users/asciidwango/repos","events_url":"https://api.github.com/users/asciidwango/events{/privacy}","received_events_url":"https://api.github.com/users/asciidwango/received_events","type":"Organization","site_admin":false},"repo":{"id":50896111,"name":"js-primer","full_name":"asciidwango/js-primer","owner":{"login":"asciidwango","id":10266070,"avatar_url":"https://avatars3.githubusercontent.com/u/10266070?v=4","gravatar_id":"","url":"https://api.github.com/users/asciidwango","html_url":"https://github.com/asciidwango","followers_url":"https://api.github.com/users/asciidwango/followers","following_url":"https://api.github.com/users/asciidwango/following{/other_user}","gists_url":"https://api.github.com/users/asciidwango/gists{/gist_id}","starred_url":"https://api.github.com/users/asciidwango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asciidwango/subscriptions","organizations_url":"https://api.github.com/users/asciidwango/orgs","repos_url":"https://api.github.com/users/asciidwango/repos","events_url":"https://api.github.com/users/asciidwango/events{/privacy}","received_events_url":"https://api.github.com/users/asciidwango/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/asciidwango/js-primer","description":"JavaScriptの入門書 :book: ","fork":false,"url":"https://api.github.com/repos/asciidwango/js-primer","forks_url":"https://api.github.com/repos/asciidwango/js-primer/forks","keys_url":"https://api.github.com/repos/asciidwango/js-primer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asciidwango/js-primer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asciidwango/js-primer/teams","hooks_url":"https://api.github.com/repos/asciidwango/js-primer/hooks","issue_events_url":"https://api.github.com/repos/asciidwango/js-primer/issues/events{/number}","events_url":"https://api.github.com/repos/asciidwango/js-primer/events","assignees_url":"https://api.github.com/repos/asciidwango/js-primer/assignees{/user}","branches_url":"https://api.github.com/repos/asciidwango/js-primer/branches{/branch}","tags_url":"https://api.github.com/repos/asciidwango/js-primer/tags","blobs_url":"https://api.github.com/repos/asciidwango/js-primer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asciidwango/js-primer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asciidwango/js-primer/git/refs{/sha}","trees_url":"https://api.github.com/repos/asciidwango/js-primer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asciidwango/js-primer/statuses/{sha}","languages_url":"https://api.github.com/repos/asciidwango/js-primer/languages","stargazers_url":"https://api.github.com/repos/asciidwango/js-primer/stargazers","contributors_url":"https://api.github.com/repos/asciidwango/js-primer/contributors","subscribers_url":"https://api.github.com/repos/asciidwango/js-primer/subscribers","subscription_url":"https://api.github.com/repos/asciidwango/js-primer/subscription","commits_url":"https://api.github.com/repos/asciidwango/js-primer/commits{/sha}","git_commits_url":"https://api.github.com/repos/asciidwango/js-primer/git/commits{/sha}","comments_url":"https://api.github.com/repos/asciidwango/js-primer/comments{/number}","issue_comment_url":"https://api.github.com/repos/asciidwango/js-primer/issues/comments{/number}","contents_url":"https://api.github.com/repos/asciidwango/js-primer/contents/{+path}","compare_url":"https://api.github.com/repos/asciidwango/js-primer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asciidwango/js-primer/merges","archive_url":"https://api.github.com/repos/asciidwango/js-primer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asciidwango/js-primer/downloads","issues_url":"https://api.github.com/repos/asciidwango/js-primer/issues{/number}","pulls_url":"https://api.github.com/repos/asciidwango/js-primer/pulls{/number}","milestones_url":"https://api.github.com/repos/asciidwango/js-primer/milestones{/number}","notifications_url":"https://api.github.com/repos/asciidwango/js-primer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asciidwango/js-primer/labels{/name}","releases_url":"https://api.github.com/repos/asciidwango/js-primer/releases{/id}","deployments_url":"https://api.github.com/repos/asciidwango/js-primer/deployments","created_at":"2016-02-02T05:16:25Z","updated_at":"2017-11-28T04:04:40Z","pushed_at":"2017-11-29T15:13:54Z","git_url":"git://github.com/asciidwango/js-primer.git","ssh_url":"git@github.com:asciidwango/js-primer.git","clone_url":"https://github.com/asciidwango/js-primer.git","svn_url":"https://github.com/asciidwango/js-primer","homepage":"https://asciidwango.github.io/js-primer/","size":4835,"stargazers_count":571,"watchers_count":571,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":22,"mirror_url":null,"archived":false,"open_issues_count":56,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":22,"open_issues":56,"watchers":571,"default_branch":"master"}},"base":{"label":"asciidwango:master","ref":"master","sha":"87f8b114114f89d3c4bb4e47c3a8abb46f94be11","user":{"login":"asciidwango","id":10266070,"avatar_url":"https://avatars3.githubusercontent.com/u/10266070?v=4","gravatar_id":"","url":"https://api.github.com/users/asciidwango","html_url":"https://github.com/asciidwango","followers_url":"https://api.github.com/users/asciidwango/followers","following_url":"https://api.github.com/users/asciidwango/following{/other_user}","gists_url":"https://api.github.com/users/asciidwango/gists{/gist_id}","starred_url":"https://api.github.com/users/asciidwango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asciidwango/subscriptions","organizations_url":"https://api.github.com/users/asciidwango/orgs","repos_url":"https://api.github.com/users/asciidwango/repos","events_url":"https://api.github.com/users/asciidwango/events{/privacy}","received_events_url":"https://api.github.com/users/asciidwango/received_events","type":"Organization","site_admin":false},"repo":{"id":50896111,"name":"js-primer","full_name":"asciidwango/js-primer","owner":{"login":"asciidwango","id":10266070,"avatar_url":"https://avatars3.githubusercontent.com/u/10266070?v=4","gravatar_id":"","url":"https://api.github.com/users/asciidwango","html_url":"https://github.com/asciidwango","followers_url":"https://api.github.com/users/asciidwango/followers","following_url":"https://api.github.com/users/asciidwango/following{/other_user}","gists_url":"https://api.github.com/users/asciidwango/gists{/gist_id}","starred_url":"https://api.github.com/users/asciidwango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asciidwango/subscriptions","organizations_url":"https://api.github.com/users/asciidwango/orgs","repos_url":"https://api.github.com/users/asciidwango/repos","events_url":"https://api.github.com/users/asciidwango/events{/privacy}","received_events_url":"https://api.github.com/users/asciidwango/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/asciidwango/js-primer","description":"JavaScriptの入門書 :book: ","fork":false,"url":"https://api.github.com/repos/asciidwango/js-primer","forks_url":"https://api.github.com/repos/asciidwango/js-primer/forks","keys_url":"https://api.github.com/repos/asciidwango/js-primer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asciidwango/js-primer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asciidwango/js-primer/teams","hooks_url":"https://api.github.com/repos/asciidwango/js-primer/hooks","issue_events_url":"https://api.github.com/repos/asciidwango/js-primer/issues/events{/number}","events_url":"https://api.github.com/repos/asciidwango/js-primer/events","assignees_url":"https://api.github.com/repos/asciidwango/js-primer/assignees{/user}","branches_url":"https://api.github.com/repos/asciidwango/js-primer/branches{/branch}","tags_url":"https://api.github.com/repos/asciidwango/js-primer/tags","blobs_url":"https://api.github.com/repos/asciidwango/js-primer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asciidwango/js-primer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asciidwango/js-primer/git/refs{/sha}","trees_url":"https://api.github.com/repos/asciidwango/js-primer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asciidwango/js-primer/statuses/{sha}","languages_url":"https://api.github.com/repos/asciidwango/js-primer/languages","stargazers_url":"https://api.github.com/repos/asciidwango/js-primer/stargazers","contributors_url":"https://api.github.com/repos/asciidwango/js-primer/contributors","subscribers_url":"https://api.github.com/repos/asciidwango/js-primer/subscribers","subscription_url":"https://api.github.com/repos/asciidwango/js-primer/subscription","commits_url":"https://api.github.com/repos/asciidwango/js-primer/commits{/sha}","git_commits_url":"https://api.github.com/repos/asciidwango/js-primer/git/commits{/sha}","comments_url":"https://api.github.com/repos/asciidwango/js-primer/comments{/number}","issue_comment_url":"https://api.github.com/repos/asciidwango/js-primer/issues/comments{/number}","contents_url":"https://api.github.com/repos/asciidwango/js-primer/contents/{+path}","compare_url":"https://api.github.com/repos/asciidwango/js-primer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asciidwango/js-primer/merges","archive_url":"https://api.github.com/repos/asciidwango/js-primer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asciidwango/js-primer/downloads","issues_url":"https://api.github.com/repos/asciidwango/js-primer/issues{/number}","pulls_url":"https://api.github.com/repos/asciidwango/js-primer/pulls{/number}","milestones_url":"https://api.github.com/repos/asciidwango/js-primer/milestones{/number}","notifications_url":"https://api.github.com/repos/asciidwango/js-primer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asciidwango/js-primer/labels{/name}","releases_url":"https://api.github.com/repos/asciidwango/js-primer/releases{/id}","deployments_url":"https://api.github.com/repos/asciidwango/js-primer/deployments","created_at":"2016-02-02T05:16:25Z","updated_at":"2017-11-28T04:04:40Z","pushed_at":"2017-11-29T15:13:54Z","git_url":"git://github.com/asciidwango/js-primer.git","ssh_url":"git@github.com:asciidwango/js-primer.git","clone_url":"https://github.com/asciidwango/js-primer.git","svn_url":"https://github.com/asciidwango/js-primer","homepage":"https://asciidwango.github.io/js-primer/","size":4835,"stargazers_count":571,"watchers_count":571,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":22,"mirror_url":null,"archived":false,"open_issues_count":56,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":22,"open_issues":56,"watchers":571,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/asciidwango/js-primer/pulls/326"},"html":{"href":"https://github.com/asciidwango/js-primer/pull/326"},"issue":{"href":"https://api.github.com/repos/asciidwango/js-primer/issues/326"},"comments":{"href":"https://api.github.com/repos/asciidwango/js-primer/issues/326/comments"},"review_comments":{"href":"https://api.github.com/repos/asciidwango/js-primer/pulls/326/comments"},"review_comment":{"href":"https://api.github.com/repos/asciidwango/js-primer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/asciidwango/js-primer/pulls/326/commits"},"statuses":{"href":"https://api.github.com/repos/asciidwango/js-primer/statuses/4e36351868476e85ebca2205f969d0aea7457226"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"azu"}}