Static methods and properties in JavaScript are associated with a class rather than instances of the class. For example, consider a class Children that has a constructor accepting name and age properties, which are assigned using this.name and this.age. These properties are specific to each instance created from the class.
Static methods or properties, however, belong directly to the class and are not accessible through instances. They are useful for functionality that doesn't depend on individual object data. For instance, you can create static methods to perform tasks like aggregating data or utility operations related to the class as a whole, without interacting with specific objects.
For more detail, please go through - JS Static Methods