197,000 results
Open links in new tab
  1. static - JavaScript | MDN - MDN Web Docs

    Nov 2, 2026 · The static keyword defines a static method or field for a class, or a static initialization block (see the link for more …Read more

  2. JavaScript Static Methods - W3Schools

    Static class methods are defined on the class itself. You cannot call a static method on an object, only on the class.

  3. Static initialization blocks - JavaScript | MDN - MDN Web Docs

    Nov 2, 2026 · Static initialization blocks allow arbitrary initialization logic to be declared within the class and executed during class …Read more

  4. JavaScript Static Methods and Properties - GeeksforGeeks

    Jun 23, 2026 · JavaScript Static Methods and Properties are defined on a class itself rather than its instances, and are accessed …Read more

  5. How to create Static Variables in JavaScript ? - GeeksforGeeks

    Jul 23, 2025 · To create a static variable in JavaScript, you can use a closure or a function scope to encapsulate the variable within a …Read more

  6. Static variables in JavaScript - Stack Overflow

    Oct 8, 2009 · There is no such thing as an static variable in Javascript. This language is prototype-based object orientated, so there …Read more

  7. JavaScript Class static Keyword - W3Schools

    The static keyword defines static methods for classes. Static methods are called directly on the class (Car from the example above) - …Read more

  8. JavaScript - Static Methods - Online Tutorials Library

    A static method in JavaScript is defined using the static keyword followed by the method name. You can execute the static method …Read more

  9. Static properties and methods - The Modern JavaScript Tutorial

    May 3, 2022 · Usually, static methods are used to implement functions that belong to the class as a whole, but not to any particular …Read more

  10. JavaScript Static Methods

    In this tutorial, you'll learn about the JavaScript static methods and how to use them effectively.