メモ
2009年4月10日金曜日
JavaScriptのthis
var f = function(){
// thisはwindow
}
var f = {};
f.e = function(){
//thisはf
}
呼び出しもとがthisなのですね。
0 件のコメント:
コメントを投稿
次の投稿
前の投稿
ホーム
登録:
コメントの投稿 (Atom)
0 件のコメント:
コメントを投稿