{"action":"created","comment":{"url":"https://api.github.com/repos/iojs/iojs-ko/pulls/comments/30122929","id":30122929,"diff_hunk":"@@ -0,0 +1,1432 @@\n+---\n+layout: post\n+title: 2015년의 JavaScript와 babel 이야기\n+author: <a href=\"https://twitter.com/yosuke_furukawa\" target=\"_blank\">yosuke_furukawa</a>\n+ref: 2015 年の JavaScript と babel の話(るびま)\n+refurl: http://magazine.rubyist.net/?0050-ECMAScript2015\n+translator:\n+  - <a href=\"https://github.com/marocchino\" target=\"_blank\">marocchino</a>\n+---\n+\n+<!--\n+# はじめに\n+\n+Node.js 日本ユーザーグループ代表の古川 (@yosuke_furukawa) です。るびま初投稿です。よろしくお願いいたします。\n+\n+今日は JavaScript の基本的な所に触れつつ、今後の JavaScript である ECMAScript2015 (旧 ECMAScript6 ) の話を中心にしようと思います。\n+\n+ECMAScript2015 (以下 ES2015 ) は今年の 6 月に公式に次の ECMAScript として仕様が公開されます。この ECMAScript の仕様に準拠した言語実装が JavaScript であり、簡単に言ってしまえば 今後のブラウザ ではこの ES2015 の仕様に準拠した新しい JavaScript が使えるようになります。\n+\n+ただし、それは今後のブラウザであって、現在普及しているブラウザでは使えません。ES2015 の機能をサポートしたブラウザを待つのではなく、ES2015 で記述し、それを現在普及しているブラウザでも扱えるようにするトランスパイラ babel (旧 6to5) に関して今回は解説します。\n+\n+また Ruby を記述している方々の中ではウェブのアプリケーションを構築されている方も多いと思いますが、この babel は次の Sprockets の v4.x で導入が検討されており、新しい Sprockets では ES6 で記述することもできる可能性があります。\n+-->\n+# 시작하며\n+\n+Node.js 일본 유저 그룹 대표인 후루카와(@yosuke_furukawa)입니다. 루비마에는 처음\n+글을 써보네요. 잘 부탁드립니다.\n+\n+오늘은 JavaScript의 기본적인 이야기와, 앞으로의 JavaScript인 ECMAScript2015(구\n+ECMAScript6)의 이야기를 중심으로 할까 합니다.\n+\n+ECMAScript2015(이하 ES2015)는 올해 6월에 다음 공식 ECMAScript 사양으로\n+발표되었습니다. 이 ECMAScript의 사양을 준수한 언어 구현이 JavaScript이며, 간단히\n+설명하면 앞으로의 브라우저에는 이 ES2015의 사양을 준수하는 새로운 JavaScript를\n+사용할 수 있게 됩니다.\n+\n+하지만, 이것은 이후의 브라우저이며, 현재 배포 중인 브라우저에서는 사용할 수\n+없습니다. ES2015의 기능을 지원하는 브라우저를 기다리지 않고, ES2015로 구현해,\n+이것을 지금 배포 중인 브라우저에서도 동작하게 하는 트랜스파일러 babel (구 6to5)에","path":"articles/_posts/2015-05-11-story-about-js-and-babel.md","position":39,"original_position":39,"commit_id":"0369b0020564c4bc4f5e59acca492a75b50fce22","original_commit_id":"0369b0020564c4bc4f5e59acca492a75b50fce22","user":{"login":"yous","id":853977,"avatar_url":"https://avatars.githubusercontent.com/u/853977?v=3","gravatar_id":"","url":"https://api.github.com/users/yous","html_url":"https://github.com/yous","followers_url":"https://api.github.com/users/yous/followers","following_url":"https://api.github.com/users/yous/following{/other_user}","gists_url":"https://api.github.com/users/yous/gists{/gist_id}","starred_url":"https://api.github.com/users/yous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yous/subscriptions","organizations_url":"https://api.github.com/users/yous/orgs","repos_url":"https://api.github.com/users/yous/repos","events_url":"https://api.github.com/users/yous/events{/privacy}","received_events_url":"https://api.github.com/users/yous/received_events","type":"User","site_admin":false},"body":"babel (구 6to5)에 → babel(구 6to5)에","created_at":"2015-05-12T10:58:25Z","updated_at":"2015-05-12T10:58:25Z","html_url":"https://github.com/iojs/iojs-ko/pull/62#discussion_r30122929","pull_request_url":"https://api.github.com/repos/iojs/iojs-ko/pulls/62","_links":{"self":{"href":"https://api.github.com/repos/iojs/iojs-ko/pulls/comments/30122929"},"html":{"href":"https://github.com/iojs/iojs-ko/pull/62#discussion_r30122929"},"pull_request":{"href":"https://api.github.com/repos/iojs/iojs-ko/pulls/62"}}},"pull_request":{"url":"https://api.github.com/repos/iojs/iojs-ko/pulls/62","id":35189486,"html_url":"https://github.com/iojs/iojs-ko/pull/62","diff_url":"https://github.com/iojs/iojs-ko/pull/62.diff","patch_url":"https://github.com/iojs/iojs-ko/pull/62.patch","issue_url":"https://api.github.com/repos/iojs/iojs-ko/issues/62","number":62,"state":"open","locked":false,"title":"Translate 2015-05-11-story-about-js-and-babel","user":{"login":"marocchino","id":128431,"avatar_url":"https://avatars.githubusercontent.com/u/128431?v=3","gravatar_id":"","url":"https://api.github.com/users/marocchino","html_url":"https://github.com/marocchino","followers_url":"https://api.github.com/users/marocchino/followers","following_url":"https://api.github.com/users/marocchino/following{/other_user}","gists_url":"https://api.github.com/users/marocchino/gists{/gist_id}","starred_url":"https://api.github.com/users/marocchino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marocchino/subscriptions","organizations_url":"https://api.github.com/users/marocchino/orgs","repos_url":"https://api.github.com/users/marocchino/repos","events_url":"https://api.github.com/users/marocchino/events{/privacy}","received_events_url":"https://api.github.com/users/marocchino/received_events","type":"User","site_admin":false},"body":"close #61 \r\n\r\n@iojs/iojs-ko 리뷰 부탁드립니다.","created_at":"2015-05-12T03:02:20Z","updated_at":"2015-05-12T10:58:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"65f13e6ef44d9ca47451f3246ccf62e306eefd8c","assignee":{"login":"marocchino","id":128431,"avatar_url":"https://avatars.githubusercontent.com/u/128431?v=3","gravatar_id":"","url":"https://api.github.com/users/marocchino","html_url":"https://github.com/marocchino","followers_url":"https://api.github.com/users/marocchino/followers","following_url":"https://api.github.com/users/marocchino/following{/other_user}","gists_url":"https://api.github.com/users/marocchino/gists{/gist_id}","starred_url":"https://api.github.com/users/marocchino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marocchino/subscriptions","organizations_url":"https://api.github.com/users/marocchino/orgs","repos_url":"https://api.github.com/users/marocchino/repos","events_url":"https://api.github.com/users/marocchino/events{/privacy}","received_events_url":"https://api.github.com/users/marocchino/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/iojs/iojs-ko/pulls/62/commits","review_comments_url":"https://api.github.com/repos/iojs/iojs-ko/pulls/62/comments","review_comment_url":"https://api.github.com/repos/iojs/iojs-ko/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iojs/iojs-ko/issues/62/comments","statuses_url":"https://api.github.com/repos/iojs/iojs-ko/statuses/0369b0020564c4bc4f5e59acca492a75b50fce22","head":{"label":"marocchino:2015-05-11-story-about-js-and-babel","ref":"2015-05-11-story-about-js-and-babel","sha":"0369b0020564c4bc4f5e59acca492a75b50fce22","user":{"login":"marocchino","id":128431,"avatar_url":"https://avatars.githubusercontent.com/u/128431?v=3","gravatar_id":"","url":"https://api.github.com/users/marocchino","html_url":"https://github.com/marocchino","followers_url":"https://api.github.com/users/marocchino/followers","following_url":"https://api.github.com/users/marocchino/following{/other_user}","gists_url":"https://api.github.com/users/marocchino/gists{/gist_id}","starred_url":"https://api.github.com/users/marocchino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marocchino/subscriptions","organizations_url":"https://api.github.com/users/marocchino/orgs","repos_url":"https://api.github.com/users/marocchino/repos","events_url":"https://api.github.com/users/marocchino/events{/privacy}","received_events_url":"https://api.github.com/users/marocchino/received_events","type":"User","site_admin":false},"repo":{"id":30640801,"name":"iojs-ko","full_name":"marocchino/iojs-ko","owner":{"login":"marocchino","id":128431,"avatar_url":"https://avatars.githubusercontent.com/u/128431?v=3","gravatar_id":"","url":"https://api.github.com/users/marocchino","html_url":"https://github.com/marocchino","followers_url":"https://api.github.com/users/marocchino/followers","following_url":"https://api.github.com/users/marocchino/following{/other_user}","gists_url":"https://api.github.com/users/marocchino/gists{/gist_id}","starred_url":"https://api.github.com/users/marocchino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marocchino/subscriptions","organizations_url":"https://api.github.com/users/marocchino/orgs","repos_url":"https://api.github.com/users/marocchino/repos","events_url":"https://api.github.com/users/marocchino/events{/privacy}","received_events_url":"https://api.github.com/users/marocchino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marocchino/iojs-ko","description":"io.js 한국어 번역팀","fork":true,"url":"https://api.github.com/repos/marocchino/iojs-ko","forks_url":"https://api.github.com/repos/marocchino/iojs-ko/forks","keys_url":"https://api.github.com/repos/marocchino/iojs-ko/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marocchino/iojs-ko/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marocchino/iojs-ko/teams","hooks_url":"https://api.github.com/repos/marocchino/iojs-ko/hooks","issue_events_url":"https://api.github.com/repos/marocchino/iojs-ko/issues/events{/number}","events_url":"https://api.github.com/repos/marocchino/iojs-ko/events","assignees_url":"https://api.github.com/repos/marocchino/iojs-ko/assignees{/user}","branches_url":"https://api.github.com/repos/marocchino/iojs-ko/branches{/branch}","tags_url":"https://api.github.com/repos/marocchino/iojs-ko/tags","blobs_url":"https://api.github.com/repos/marocchino/iojs-ko/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marocchino/iojs-ko/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marocchino/iojs-ko/git/refs{/sha}","trees_url":"https://api.github.com/repos/marocchino/iojs-ko/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marocchino/iojs-ko/statuses/{sha}","languages_url":"https://api.github.com/repos/marocchino/iojs-ko/languages","stargazers_url":"https://api.github.com/repos/marocchino/iojs-ko/stargazers","contributors_url":"https://api.github.com/repos/marocchino/iojs-ko/contributors","subscribers_url":"https://api.github.com/repos/marocchino/iojs-ko/subscribers","subscription_url":"https://api.github.com/repos/marocchino/iojs-ko/subscription","commits_url":"https://api.github.com/repos/marocchino/iojs-ko/commits{/sha}","git_commits_url":"https://api.github.com/repos/marocchino/iojs-ko/git/commits{/sha}","comments_url":"https://api.github.com/repos/marocchino/iojs-ko/comments{/number}","issue_comment_url":"https://api.github.com/repos/marocchino/iojs-ko/issues/comments{/number}","contents_url":"https://api.github.com/repos/marocchino/iojs-ko/contents/{+path}","compare_url":"https://api.github.com/repos/marocchino/iojs-ko/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marocchino/iojs-ko/merges","archive_url":"https://api.github.com/repos/marocchino/iojs-ko/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marocchino/iojs-ko/downloads","issues_url":"https://api.github.com/repos/marocchino/iojs-ko/issues{/number}","pulls_url":"https://api.github.com/repos/marocchino/iojs-ko/pulls{/number}","milestones_url":"https://api.github.com/repos/marocchino/iojs-ko/milestones{/number}","notifications_url":"https://api.github.com/repos/marocchino/iojs-ko/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marocchino/iojs-ko/labels{/name}","releases_url":"https://api.github.com/repos/marocchino/iojs-ko/releases{/id}","created_at":"2015-02-11T09:39:39Z","updated_at":"2015-03-31T09:14:33Z","pushed_at":"2015-05-12T09:35:29Z","git_url":"git://github.com/marocchino/iojs-ko.git","ssh_url":"git@github.com:marocchino/iojs-ko.git","clone_url":"https://github.com/marocchino/iojs-ko.git","svn_url":"https://github.com/marocchino/iojs-ko","homepage":"","size":381,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"iojs:gh-pages","ref":"gh-pages","sha":"566329b4d4a1a64bf7834bd63793149bc66bf813","user":{"login":"iojs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/iojs","html_url":"https://github.com/iojs","followers_url":"https://api.github.com/users/iojs/followers","following_url":"https://api.github.com/users/iojs/following{/other_user}","gists_url":"https://api.github.com/users/iojs/gists{/gist_id}","starred_url":"https://api.github.com/users/iojs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iojs/subscriptions","organizations_url":"https://api.github.com/users/iojs/orgs","repos_url":"https://api.github.com/users/iojs/repos","events_url":"https://api.github.com/users/iojs/events{/privacy}","received_events_url":"https://api.github.com/users/iojs/received_events","type":"Organization","site_admin":false},"repo":{"id":30468251,"name":"iojs-ko","full_name":"iojs/iojs-ko","owner":{"login":"iojs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/iojs","html_url":"https://github.com/iojs","followers_url":"https://api.github.com/users/iojs/followers","following_url":"https://api.github.com/users/iojs/following{/other_user}","gists_url":"https://api.github.com/users/iojs/gists{/gist_id}","starred_url":"https://api.github.com/users/iojs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iojs/subscriptions","organizations_url":"https://api.github.com/users/iojs/orgs","repos_url":"https://api.github.com/users/iojs/repos","events_url":"https://api.github.com/users/iojs/events{/privacy}","received_events_url":"https://api.github.com/users/iojs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iojs/iojs-ko","description":"io.js 한국 커뮤니티","fork":false,"url":"https://api.github.com/repos/iojs/iojs-ko","forks_url":"https://api.github.com/repos/iojs/iojs-ko/forks","keys_url":"https://api.github.com/repos/iojs/iojs-ko/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iojs/iojs-ko/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iojs/iojs-ko/teams","hooks_url":"https://api.github.com/repos/iojs/iojs-ko/hooks","issue_events_url":"https://api.github.com/repos/iojs/iojs-ko/issues/events{/number}","events_url":"https://api.github.com/repos/iojs/iojs-ko/events","assignees_url":"https://api.github.com/repos/iojs/iojs-ko/assignees{/user}","branches_url":"https://api.github.com/repos/iojs/iojs-ko/branches{/branch}","tags_url":"https://api.github.com/repos/iojs/iojs-ko/tags","blobs_url":"https://api.github.com/repos/iojs/iojs-ko/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iojs/iojs-ko/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iojs/iojs-ko/git/refs{/sha}","trees_url":"https://api.github.com/repos/iojs/iojs-ko/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iojs/iojs-ko/statuses/{sha}","languages_url":"https://api.github.com/repos/iojs/iojs-ko/languages","stargazers_url":"https://api.github.com/repos/iojs/iojs-ko/stargazers","contributors_url":"https://api.github.com/repos/iojs/iojs-ko/contributors","subscribers_url":"https://api.github.com/repos/iojs/iojs-ko/subscribers","subscription_url":"https://api.github.com/repos/iojs/iojs-ko/subscription","commits_url":"https://api.github.com/repos/iojs/iojs-ko/commits{/sha}","git_commits_url":"https://api.github.com/repos/iojs/iojs-ko/git/commits{/sha}","comments_url":"https://api.github.com/repos/iojs/iojs-ko/comments{/number}","issue_comment_url":"https://api.github.com/repos/iojs/iojs-ko/issues/comments{/number}","contents_url":"https://api.github.com/repos/iojs/iojs-ko/contents/{+path}","compare_url":"https://api.github.com/repos/iojs/iojs-ko/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iojs/iojs-ko/merges","archive_url":"https://api.github.com/repos/iojs/iojs-ko/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iojs/iojs-ko/downloads","issues_url":"https://api.github.com/repos/iojs/iojs-ko/issues{/number}","pulls_url":"https://api.github.com/repos/iojs/iojs-ko/pulls{/number}","milestones_url":"https://api.github.com/repos/iojs/iojs-ko/milestones{/number}","notifications_url":"https://api.github.com/repos/iojs/iojs-ko/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iojs/iojs-ko/labels{/name}","releases_url":"https://api.github.com/repos/iojs/iojs-ko/releases{/id}","created_at":"2015-02-07T20:00:23Z","updated_at":"2015-05-07T15:39:49Z","pushed_at":"2015-05-12T09:35:30Z","git_url":"git://github.com/iojs/iojs-ko.git","ssh_url":"git@github.com:iojs/iojs-ko.git","clone_url":"https://github.com/iojs/iojs-ko.git","svn_url":"https://github.com/iojs/iojs-ko","homepage":"http://iojs.github.io/iojs-ko/","size":820,"stargazers_count":56,"watchers_count":56,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":12,"mirror_url":null,"open_issues_count":8,"forks":12,"open_issues":8,"watchers":56,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/iojs/iojs-ko/pulls/62"},"html":{"href":"https://github.com/iojs/iojs-ko/pull/62"},"issue":{"href":"https://api.github.com/repos/iojs/iojs-ko/issues/62"},"comments":{"href":"https://api.github.com/repos/iojs/iojs-ko/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/iojs/iojs-ko/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/iojs/iojs-ko/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iojs/iojs-ko/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/iojs/iojs-ko/statuses/0369b0020564c4bc4f5e59acca492a75b50fce22"}}}}