約140,000件1ページ目

日本語のみで絞り込む

条件を指定して検索しています。すべての条件を解除する

  • 最終更新日:1年以内
  • 6日前 -Static methods are often utility functions, such as functions to create or clone objects, whereas static properties are useful for caches, fixed-configuration, ...

    2026/6/23 -JavaScript Static Methods and Properties are defined on a class itself rather than its instances, and are accessed using the class name.

    2025/11/12 -There are several examples of static methods in the JavaScript language itself, for example, Math. ... example of a class with nothing but static properties and ...

    2026/3/15 -staticMethod());. Example 1: Basic Static Variables and Methods. This example demonstrates how to define and access static variables and methods in a class.

    2026/10/24 -In this example, the MathUtils class has a static method add defined. The static keyword is used to define a static method. Static methods do not belong to ...

    2025/11/11 -You can also define static properties — shared by all instances of a class. Even those can be private or public. class Config { static #secretKey = "abc123" ...

    In TypeScript, the static keyword is used to define class members (properties or methods) that belong to the class itself, not to individual objects created ...

    YouTubeLearn Language Hub

    6日前 -Static initialization blocks are declared within a class. They contain statements to be evaluated during class initialization. This permits more flexible ...

    2026/8/9 -Static methods are methods that do not belong to the instantiated object, but to the class itself, therefore they cannot be accessed from the instantiated ...

    2026/7/29 -In my example, I have added static data to my class (also called properties), so I have a property called species, which is an array and not a function.