44,600 results
Open links in new tab
  1. Classes - JavaScript | MDN - MDN Web Docs

    Nov 2, 2026 · Classes are a template for creating objects. They encapsulate data with code to work on that data. Classes in JS are …

  2. JavaScript Classes - W3Schools

    The example above creates a class named "Car". The class has two initial properties: "name" and "year". A JavaScript class is not …

  3. JavaScript Classes - GeeksforGeeks

    Jun 17, 2026 · A JavaScript class is a blueprint for creating objects. It allows developers to define properties and methods in a single …

  4. Using classes - JavaScript | MDN - MDN Web Docs

    In JavaScript, classes are mainly an abstraction over the existing prototypical inheritance mechanism — all patterns are convertible …

  5. JavaScript Classes - W3Schools

    The example above creates a class named "Car". The class has two initial properties: "name" and "year". A JavaScript class is not …

  6. JavaScript 类 (class) - 菜鸟教程

    JavaScript 类 (class) 类是用于创建对象的模板。 我们使用 class 关键字来创建一个类,类体在一对大括号 {} 中,我们可以在大括号 {} …

  7. Classes in JavaScript - Learn web development | MDN

    Aug 21, 2025 · In this article, we've gone through the main tools available in JavaScript for writing object-oriented programs. We …

  8. class - JavaScript | MDN - MDN Web Docs

    Jul 8, 2025 · The class declaration creates a binding of a new class to a given name. You can also define classes using the class …

  9. Classes - The Modern JavaScript Tutorial

    Classes Class basic syntax Class inheritance Static properties and methods Private and protected properties and methods …

  10. JavaScript Tutorial - W3Schools

    Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, …