Ongeveer 3.040.000 resultaten
Koppelingen in nieuw tabblad openen
  1. JavaScript Object Definitions - W3Schools

    JavaScript Object.create () The Object.create() method creates an object from an existing object.

  2. Object.create () - JavaScript | MDN

    10 jul. 2025 · The Object.create() static method creates a new object, using an existing object as the prototype of the newly created object.

  3. How to Create Objects in JavaScript - freeCodeCamp.org

    10 mei 2024 · JavaScript, a versatile and popular language, offers various ways to create these objects. This article dives deep into these methods, equipping you with the knowledge to craft …

  4. Creating objects in JavaScript - GeeksforGeeks

    15 okt. 2025 · Objects can be created using object literals, constructors, or classes. Properties are defined with key-value pairs, and methods are functions defined within the object, enabling …

  5. How to Create Objects in JavaScript: An Expert Guide

    12 aug. 2025 · In this comprehensive guide, you‘ll learn five primary ways to create objects in JavaScript: Each approach serves different use cases for object creation. By understanding …

  6. JavaScript New - Object Instantiation Simplified - ZetCode

    16 apr. 2025 · Understand how to use the new keyword in JavaScript for creating object instances, with examples and explanations.

  7. JavaScript Objects: Create Objects, Access Properties & Methods

    Here you will learn objects, object literals, Object () constructor function, and access object in JavaScript. You learned about primitive and structured data types in JavaScript. An object is a …

  8. The new keyword - web.dev

    31 mrt. 2024 · Call functions using the `new` keyword to create objects.

  9. new - JavaScript | MDN

    8 jul. 2025 · The new operator lets developers create an instance of a user-defined object type or of one of the built-in object types that has a constructor function.

  10. Constructor, operator "new" - The Modern JavaScript Tutorial

    1 okt. 2022 · Now if we want to create other users, we can call new User("Ann"), new User("Alice") and so on. Much shorter than using literals every time, and also easy to read. That’s the main …