This page has moved... Click here if you are not redirected.
This page has moved... Click here if you are not redirected.
JavaScript Advent Calendar 2014 11日目。 いきなり要約: Promiseや非同期テストのアサーションを簡単確実に書けるようになるesplanというライブラリのPoCを作った話。 Promiseや非同期のテストは難しい 詳しくはJavaScript Promiseの本: Chapter.3 Promiseのテストをご覧いただきたいのだが、Promiseのテストを正確に書くのはそんなに簡単ではない。 例えばmochaだと、 // 間違ったテスト1: // mayBeResolveWithOne() が1以外でresolveしたときタイムアウトエラーになる it("mayBeResolveWithOne()は1でresolveする", function(done) { mayBeResolveWithOne().then(function(value) { as
README.md Note: All source code in this repository is under the Unlicense. Proposal for SpiderMonkey AST representation for import and export statements The current AST format is both inconsistent and complicated. Esprima and Acorn have two different syntax trees for the same thing, and that currently heavily hinders inter-op between the two. Since the module syntax is stabilized, but I can tell t
Important Notice This is a non-backward compatible change in esprima:harmony branch since it removes some syntax from previous drafts that were specs recently and introduces the changes to align with the final draft. Issues https://code.google.com/p/esprima/issues/detail?id=597 Changes revision of ES6 import final syntax based on specs revision of ES6 export final syntax based on specs tests for i
Tracking JavaScript Annotations Apr 6, 2014 3 min read #esprima #javascript #jstools #web One of the interesting features of Esprima is to retrieve every comment inside a JavaScript source. Even better, each comment can be linked to the related syntax node. This is very helpful (like in the case of JSDoc) since any additional information regarding the program can be provided via the comment servin
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く