约 17,200,000 个结果
在新选项卡中打开链接
  1. JavaScript Constructors - W3Schools

    Object Constructor Functions Sometimes we need to create many objects of the same type. To create an object type we use an object constructor function. It is considered good practice to name …

  2. Constructor in JavaScript - GeeksforGeeks

    2025年10月31日 · A constructor in JavaScript is a special function used to create and initialize objects. It defines how an object’s properties are set when a new instance is created. Constructors make object …

  3. JavaScript Constructor Method - GeeksforGeeks

    2026年3月24日 · A constructor in JavaScript is a special function used to create and initialize objects. It sets up object properties and is typically invoked using the new keyword. Constructors allow for the …

  4. constructor - JavaScript | MDN

    2025年7月20日 · The constructor method is a special method of a class for creating and initializing an object instance of that class.

  5. JavaScript Object Constructors - GeeksforGeeks

    2026年1月20日 · An object in JavaScript is a collection of related data and functionality stored as key–value pairs, where values can be variables or functions (methods). Objects group related …

  6. Game Making Software - Construct 3

    Construct 3 is the worlds best game making software. Make your own game in your browser without coding or with Javascript. Building games has never been easier!

  7. JavaScript Class constructor Method - W3Schools

    Description The constructor() method is a special method for creating and initializing objects created within a class. The constructor() method is called automatically when a class is initiated, and it has to …

  8. JavaScript Constructor Function (with Examples) - Programiz

    The JavaScript constructor function creates and initializes objects. In this tutorial, you will learn about JavaScript constructor functions with the help of examples.

  9. JavaScript Constructor Function

    In this tutorial, you'll learn about the JavaScript constructor function and how to use the new keyword to create multiple similar objects.

  10. constructor - JavaScript | MDN

    O construtor é um método especial para criar e inicializar um objeto criado a partir de uma classe.