約9,180件1ページ目

日本語のみで絞り込む

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

  • 最終更新日:3か月以内
  • 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 " ...

    2026/10/3 -In fact, most plain JavaScript functions can be used as constructors — you use the new operator with a constructor function to create a new object. We will be ...

    2026/9/24 -To accept a class as a value, type the parameter with a construct signature: new (...args) => Instance . typeof MyClass also works, but it ties the parameter to ...

    2026/10/24 -In JavaScript, class syntax is internally implemented using constructor functions and prototypes. Class syntax is syntactic sugar for writing these more ...

    4日前 -javascript. class Person { constructor(name) { this.name = name; } greet() { return "Hi, I am " + this.name; } } class Developer extends Person { constructor ...

    2026/10/6 -In class-based, object-oriented programming, a constructor (abbreviation: ctor) is a special type of function called to create an object.

    2026/9/14 -If you want to declare traditional constructors in the class body more concisely without repeating the class name, check out Concise constructor syntax.

    2026/10/25 -The idea is to allow setting a field / property directly from the parameter list, like this: class MyClass { private int A { get; } private int B { get; } ...

    2026/10/8 -The Function() constructor creates Function objects. Calling the constructor directly can create functions dynamically, but suffers from security and similar ( ...