Static is used access the properties and functions directly wihout

class Employee {
  getDepartment() {
    return "HR"
  }
}
const emp = new Employee();
console.log(emp.getDepartment());