{"action":"created","issue":{"url":"https://api.github.com/repos/asciidwango/js-primer/issues/2","repository_url":"https://api.github.com/repos/asciidwango/js-primer","labels_url":"https://api.github.com/repos/asciidwango/js-primer/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/asciidwango/js-primer/issues/2/comments","events_url":"https://api.github.com/repos/asciidwango/js-primer/issues/2/events","html_url":"https://github.com/asciidwango/js-primer/issues/2","id":132585174,"number":2,"title":"実行環境について","user":{"login":"azu","id":19714,"avatar_url":"https://avatars.githubusercontent.com/u/19714?v=3","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},"labels":[{"url":"https://api.github.com/repos/asciidwango/js-primer/labels/discussion","name":"discussion","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-02-10T01:29:19Z","updated_at":"2016-06-26T03:18:37Z","closed_at":null,"body":"書籍で扱う実行環境の数は少ないほど記述のブレが減るため、いずれは決めておく必要があると思います。\r\nその実行環境を何にするのかを話し合うIssueです。\r\n\r\n# ES6と実行環境\r\n\r\n現在のブラウザでES6対応が進んでいるものとしては、以下のようなものがあると思います。\r\n\r\n- MSEdge\r\n- Firefox\r\n- Chrome\r\n- WebKit/Safari\r\n\r\nこの中でクロスプラットフォームなものとしては\r\n\r\n- Firefox\r\n- Chrome\r\n\r\nとなります。\r\n\r\nまた、ES6の対応状況として[ECMAScript 6 compatibility table](http://kangax.github.io/compat-table/es6/ \"ECMAScript 6 compatibility table\")を参照した場合、\r\n\r\n- Chrome 50 - 91%\r\n- Firefox 45 - 85%\r\n\r\nとなっています(この数値にはES6 Modulesは含まれていません)。\r\nChromeの残りは末尾呼び出し最適化で、こちらの方は実装が進んでいるので数ヶ月以内に100%実装になると思います。\r\n\r\nModuleも実装は進められています。(こっちは仕様も一緒に進めつつなのでいつ終わるかはよくわからない)\r\n\r\n- Chrome: [Chrome Platform Status](https://www.chromestatus.com/features/5365692190687232)\r\n- Firefox: [1240072 – Implement milestone 0 `<script type=\"module\">`](https://bugzilla.mozilla.org/show_bug.cgi?id=1240072)\r\n- MSEdge : [Looking ahead: Microsoft Edge for developers in 2016 | Microsoft Edge Dev Blog](https://blogs.windows.com/msedgedev/2016/02/03/2016-platform-priorities/ \"Looking ahead: Microsoft Edge for developers in 2016 | Microsoft Edge Dev Blog\")\r\n\r\n## 実行環境について\r\n\r\n本題ですが、実行環境としてはFirefox(Spidermonkey)かChrome(V8)のどちらかになるとは思います。\r\n\r\nChromeを選択した場合、ブラウザ以外にもV8を使った実行環境としてはいくつか選択肢があると思います。\r\n\r\n- [Mancy - An Electron based NodeJS REPL Application](http://mancy-re.pl/ \"Mancy - An Electron based NodeJS REPL Application\")のようなElectronを使ったREPL\r\n- Node.js\r\n\r\nブラウザじゃないメリットとしては、バージョンが固定しやすいとか専用のものを作りやすいというぐらいですね。\r\n逆にブラウザじゃないと別途インストールしないといけないものが増えたり、初めて見るものが増えるとかですかね。\r\n\r\n## 決めるべきこと\r\n\r\n- [ ] 実行環境(Firefox or Chrome)\r\n\r\nここで決めておくどっちのブラウザか(どっちもか)、またChromeならブラウザかそうでないものがいいのかぐらいな気がします。\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/asciidwango/js-primer/issues/comments/228581951","html_url":"https://github.com/asciidwango/js-primer/issues/2#issuecomment-228581951","issue_url":"https://api.github.com/repos/asciidwango/js-primer/issues/2","id":228581951,"user":{"login":"azu","id":19714,"avatar_url":"https://avatars.githubusercontent.com/u/19714?v=3","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},"created_at":"2016-06-26T03:18:37Z","updated_at":"2016-06-26T03:18:37Z","body":"- [JavaScript error reference - JavaScript | MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors)\r\n- [Developer Edition 49: Network Request Stack Traces and more ★ Mozilla Hacks – the Web developer blog](https://hacks.mozilla.org/2016/06/developer-edition-49-network-request-stack-traces-and-more/)\r\n\r\n\r\nFirefoxのコンソールにエラーメッセージの解説が着いた"}}
{"actor":{"display_login":"azu"}}