class MathHelper {
static square(n) { return n * n; }
}
MathHelper.square(4); // 16Static methods belong to the class itself, not to any instance.
Static methods belong to the class itself, not to instances. They're useful for utility functions or factory methods that relate to the class but don't need instance data.
Challenge: Create a class with static methods for creating instances or performing calculations.