約21,200件1ページ目

条件を指定して検索しています。すべての条件を解除する

  • 対象とする言語:日本語
  • 2024/12/21 -Both methods are defined inside the class without using the function keyword. They can be called on instances of the Person class, such as ...

    2026/2/22 -The class syntax in JavaScript is a feature for creating reusable blueprints that bundle related state (properties) and behavior (methods) ...

    2024/9/28 -class 構文は、コンストラクター関数を記述し、関数をそのプロトタイプにアタッチする必要性を効果的に置き換えます。内部的には、どちらも実質的に同じ ...

    2025/9/18 -constructor メソッドは、クラスで作成されたオブジェクトインスタンスの生成と初期化を行うための特殊なメソッドです。

    2025/11/1 -コンストラクタ関数は、オブジェクト指向プログラミングの基礎となる概念であり、ES6のclass構文の内部でも使われている重要な仕組みです。 対象読者.

    2023/11/14 -なぜ typeof や constructor だけでは関数と class が見分けられないのでしょうか。 それは class は本質的に関数と同じものだからです。 一昔前 [いつ?] ...

    ... constructor: function(name, isGeek) { * this.isGeek = isGeek; * * // Apply a method from the parent class' prototype * this.callParent([name]); * * return ...

    2024/4/4 -概念: function は処理の単位であり、単一のタスクを実行することに焦点を当てています。一方、 class はデータとそれを操作するメソッドをまとめたもので ...

    2026/8/4 -In JavaScript, functions were not just "collections of processes," but also held the role of "constructors (blueprints)" for creating objects.

    2024/12/27 -constructorはクラスのインスタンスを作成する際に呼び出される特別なメソッドで、メソッドはクラス内で定義された関数です。 クラスを使用するには、new ...