約11,700,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/17 -A static method (or static function) is a method defined as a member of an object but is accessible directly from an API object's constructor, rather than from ...

    2025/11/12 -In JavaScript, use the static keyword to create static properties and methods. ... To create a static method, prepend the static keyword before the name of the ...

    2026/4/25 -But here is the thing most people miss: in JavaScript, functions are also objects. You can add properties to them, pass them around, store them in variables.

    2026/2/11 -The defaults static property stores an object that associates option names and their default values. Default values can be any JavaScript data type. These ...

    A.無名関数をそのままコンストラクタとして使っているのだと思いますが、出番があるかと言われると、まず無いかと思います。これといった用途も思いつきませんし、使っている人を見たことが無いです。 例えば...

    A.自分は普段クラスベース言語をやらないので、質問者さんがどんなイメージでこのソースを書いたのかあまりわかりません でも、JSの「クラス」は普通のものと大きく違うと考えた方がいいです >このコード...

    A.とくに「@public」っていうコメントの書き方があるワケじゃなく、 単にそのコードを作成した人が、 自分なりのルール、 またはその人が所属しているグループのルールで書いてるだけ。 Javasc...

    2026/3/15 -Static methods are used for creating a static copy of an object. The const variable declares a constant value that cannot be modified ; The static keyword is ...

    2026/1/15 -In this post you'll learn about Private and Public Class Fields in JavaScript, when to use them and how they're useful.

    2026/10/5 -This dataset enumerates all static methods available on the JavaScript built-in Object constructor as defined by the ECMAScript specification and documented on ...

    2025/12/3 -Use apply() when you want to immediately execute a function with a specific this context and you have the arguments ready in an array. · Use bind() when you want ...