約122件1ページ目

日本語のみで絞り込む

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

2017/9/14 -Use .constructor.name on the object. Each object's constructor by default refers to his creation function, which has a name property. It returns ...

To create an object type we use an object constructor function. It is considered good practice to name constructor functions with an upper-case first letter.

In JavaScript, all objects can be linked to another object, which is called their prototype (also known as its [[Prototype]] ). If a property or method is not ...

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

2024/1/25 -Here, Person is a constructor function that initializes new objects with name and age properties and a describe method. When we create a new ...

2015/9/24 -When the constructor is called with the new keyword, it assigns the received parameters to the name and year property of the current instance, ...

2026/6/23 -Instantiating an object constructor. There are two ways to instantiate object constructor, function Person(name, age) { this.name = name;

Dive into the world of JavaScript object constructors! This video explains how to use constructor functions to create reusable objects ...

YouTubeCodeLucky

2016/4/30 -The function object in JavaScript has a property name. It returns the name of the function or an empty string for anonymous one. In addition ...