OUTDATED BROWSER to use this site, you'll need to update your browser. check here for the latest version
JavaScript チュートリアル 初級編 JavaScript の基礎 JavaScript の第一歩 JavaScript の構成要素 JavaScript オブジェクト入門 JavaScript ガイド 入門編 文法とデータ型 制御フローとエラー処理 ループとイテレーター 関数 式と演算子 数と日付 テキスト処理 正規表現 インデックス付きコレクション キー付きコレクション オブジェクトを利用する Using classes プロミスの使用 JavaScript 型付き配列 イテレーターとジェネレーター メタプログラミング JavaScript モジュール 中級編 クライアントサイド JavaScript フレームワーク クライアントサイド Web API Language overview JavaScript のデータ構造 等値比較と同一性 プロパティの列挙可能性と所有権 クロ
Firefox 13.0a1 (Nightly 2012-02-09) あたりから、ES.next の新たな構文である、for-ofステートメントが追加されました。 Bug 699565 – Implement Harmony for-of loops harmony:iterators [ES Wiki] for...of - MDN この構文は、配列の様なオブジェクトに対して使えるもので、for-in 構文が key を取ってくるのに対して、for-of は value を得られるものとなります。 for (var item of ["a","b","c"]){ console.log(item); } // "a" // "b" // "c" 対象となるオブジェクト 配列の様なオブジェクトと書いたとおり、純粋な配列以外にも使えます。 Argumentsオブジェクト HTMLColle
This is not the normative ECMAScript Language specification. The normative spec (ECMA 262) is a PDF file maintained by ECMA TC39 and is available from http://www.ecmascript.org/. An auto-generated HTML version is available, too: http://ecma-international.org/ecma-262/5.1/ This is an annotated, hyperlinked, HTML version of Edition 5.1 of the ECMAScript Specification, the source for which is maintai
JavaScriptの質問です。 以下のコードを実行させると、 Firefoxでは「true」(2つ目はエラー) Chromeでは「false」「true」 とアラートが出るのですが、これはどのような仕様の違いから生まれているのでしょうか? 参考になるページなどがあれば教えてください。 if(1){ function a(){ return true } }else{ function a(){ return false } } while(0){ function b(){ return true } } alert(a()); alert(b());
I took time away from the Mozilla all-hands last week to help out on-stage at the Intel Developer Forum with the introduction of RiverTrail, Intel’s technology demonstrator for Parallel JS — JavaScript utilizing multicore (CPU) and ultimately graphics (GPU) parallel processing power, without shared memory threads (which suck). Then over the weekend, I spoke at CapitolJS, talking about ES6 and Dart
『ゆるゆり』 のOPが頭から離れなかったのですが, 最近EDも頭から離れなくなってきました... https://github.com/Constellation/iv iv / lv5のVM engine化がとりあえず完了し, byte codeにcompileしてstack VMで実行するengineになりました!! 今まで「ECMAScript engineをー」と言われるたびに, 「といっても, ASTのInterpreterなんですけどね」と言っていたのですが, これで心置きなくengineを名乗れそうな気がします. ちなみに, AST Interpreterですが, 抽象化の結果ひとつのengineでどちらも使えるとかいうかなり怪しいことになっており, --interp optionを付けるとInterpreterで評価することができます(はっきりわかるほどVMの方が速いです.
On February 9th I gave a talk at the Mountain View JavaScript meetup, hosted by Google, on some of the cool features we’re working on for the next version of ECMAScript. Max Walker from Marakana, Inc. did a beautiful job recording and editing the video. Caveat: there’s one point in the video where I claim that in-browser modules loaded from the same URL shouldn’t share the same instance (aka “sing
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く