class Employee { constructor(name) { this.name = name; } getName() { return this.name; } fire(target) { if (target instanceof Employee) { console.log("I am an employee, I cannot fire someone!"); } else { console.log("I cannot fire that!"); } return false; } } module.exports = { Employee, };