2011-09-08から1日間の記事一覧
var f = fHandler(); f(); // yeah! function fHandler () { var handlerSelf = this; return function () { if (handlerSelf === this) { console.log('yeah!'); } else { console.log('ooh...'); } } } うん console.log("we're in " + this); var f = fHa…