ECMAScript 6 Dr. Axel Rauschmayer 2ality.com 2013-05-30 Fluent 2013, San Francisco About me Axel Rauschmayer: Editor of JavaScript Weekly Blogger at 2ality.com Co-organizer of MunichJS (JavaScript user group) I have written about ECMAScript 6 since early 2011. Dr. Axel Rauschmayer (2ality.com) ECMAScript 6 2013-05-30 2 / 71 JavaScript: big and dangerous Black rhinoceros: mammal with highest rate o
The WebGL spec needs a method for high-performance access to native-typed data. That group invented its own set of objects for this, but it has now been adopted in FileAPI, FileWriter, XHR2, and is being considered for Web Sockets. Other groups like CommonJS have also been working on something similar. The core of the proposal is found here https://cvs.khronos.org/svn/repos/registry/trunk/public/w
JavaScript : What is it really? AND Some new features in ES6
Firefox Nightly (22) に ES6のArrow Function来たる - fragmentary ということで、早速試しているわけです。 基本 var f1 = () => "OK"; // 引数なしの場合は、"()"が必須 var f2 = arg => arg + 1; // 引数一つなら、"()"は省略可 var f3 = (arg1, arg2) => arg1 + arg2; // 複数の引数の場合は"()"必須 var f4 = arg => { // ステートメントを入れる場合は "{}" でブロックを生成する if (arg) return "OK"; else return "NG"; }; // オブジェクトを返す場合は、ブロックと間違われないように // ({...}) と () 等を使用する var f5 = () => ({ a: "A", b
TypeScript is JavaScript with syntax for types.TypeScript is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale.
Posted at July 24, 2012 by Nicholas C. Zakas Tags: ECMAScript 6, JavaScript, Syntax I am, just like many in the JavaScript world, watching anxiously as ECMAScript undergoes its next evolution in the form of ECMAScript 6. The anxiety is a product of the past, when we were all waiting for ECMAScript 4 to evolve. The ECMAScript 4 initiative seemed more like changing JavaScript into a completely diffe
ES.nextとして入っていて, ECMAScript 6にも入りそうな気配がするWeakMap. という訳で. WeakMapとは WeakMapとは, harmony:weak_maps [ES Wiki] keyへの参照が弱参照 keyが任意のObject valueはなんでもあり というものです. 弱参照であるため, WeakMapのkeyに指定されたObjectが, weakなreferenceからしか参照されていなかった場合, GCに回収されます. また, WeakMapという名前が隠しがちですが, どちらかと言うと主機能は任意のObjectがkeyとして取れるということでしょう. var map = new WeakMap(); var obj = {}; map[obj] = "OK"; // このとき, toString()されたりしない. Objectをとれる 従来のO
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く