約107件1ページ目

日本語のみで絞り込む

6日前 -The constructor method is a special method of a class for creating and initializing an object instance of that class.

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

2025/7/10 -The Object() constructor turns the input into an object. Its behavior depends on the input's type.

2025/7/10 -The constructor data property of an Object instance returns a reference to the constructor function that created the instance object.

2025/7/8 -Define the object type by writing a function that specifies its name and properties. For example, a constructor function to create an object Foo ...

2016/7/14 -The prototype of an object is typically inherited from its constructor function: function Tree() {} Tree.prototype.foo = function () {}; var ...

2026/10/26 -The Number() constructor creates Number objects. When called as a function, it returns primitive values of type Number.

2022/8/24 -Yes and no. A constructor function can be called without new but then it doesn't work the same way. There are for example built-in JS ...

2025/7/10 -Constructor. Function(). Creates a new Function object. Calling the constructor directly can create functions dynamically but suffers from ...

2024/10/29 -A constructor function is a special type of function in JavaScript that's used to create and initialize new objects. Unlike regular functions, ...