約11,500件1ページ目

日本語のみで絞り込む

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

  • 最終更新日:1か月以内
  • 6日前 -The constructor method is a special method of a class for creating and initializing an object instance of that class.

    6日前 -The constructor method is a special method for creating and initializing an object created with a class. There can only be one special method with the name " ...

    13時間前 -What's the difference between a class and an object literal in JavaScript? An object literal creates an object directly. A class gives you a reusable ...

    6日前 -JavaScript: Class: A blueprint used to create objects. Constructor: A special method inside a class that automatically executes when a new object is ...

    1日前 -Object literals ( {} ): Simplest and most popular approach. · Object() constructor: Use new Object() with dot notation to add properties. · Object. · Constructor ...

    2026/10/22 -Constructors are used to set the initial state, or value of the instance variables, of an object. A constructor always has the same name as the class. A class ...

    2026/10/16 -A class and its objects hold different things. A const in a class belongs to the class itself: there is one value, and you read it through the class name…

    2日前 -New objects are copies. No classes, no constructors. You build an example object, the prototype, and copy it. What you don't know, ask your parent ...

    2026/10/21 -A constructor is a special method that is automatically called when an object is created. It is commonly used to initialize class properties.

    5日前 -... object, links its prototype, runs the constructor and returns the object. class and extends are syntax over prototypes, and a class is still a function. Use ...