タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

JavaScriptとjavascriptとthisに関するkeyesberryのブックマーク (2)

  • Understanding JavaScript Function Invocation and "this"

    Over the years, I've seen a lot of confusion about JavaScript function invocation. In particular, a lot of people have complained that the semantics of this in function invocations is confusing. In my opinion, a lot of this confusion is cleared up by understanding the core function invocation primitive, and then looking at all other ways of invoking a function as sugar on top of that primitive. In

  • 詳細 ECMA-262-3 第3章 this - oogatta のブログ

    目次 はじめに 定義 グローバルコード上の this 値 関数コード上の this 値 Reference 型 関数呼び出しと非 Reference 型 Reference 型と null の this 値 コンストラクタとして呼び出された関数での this 値 関数呼び出し時に手動で this を指定する 結論 参考文献 はじめに この章では、実行コンテキストに直接に関係するもうひとつのテーマについて考察します。議題は this キーワードです。 ご承知の通りこのトピックはとても難しく、時に異なる実行コンテキストにおける this 値の決定について議論の的になるポイントです。 多くのプログラマにとって、プログラム言語における this キーワードとは、オブジェクト指向プログラミングに密接に結びつき、コンストラクタによって新たに生成されるオブジェクトまさにそれ自体を参照するものとして考えら

    詳細 ECMA-262-3 第3章 this - oogatta のブログ
  • 1