I have this code in Javascript and I need to know what is the bad practice, but i donĀ“t know, I was reading the page “Code smells” but i didn’t find anything. Source: https://refactoring.guru/
class Employee {
eat() {
//...
}
drink(){
//...
}
work(){
//...
}
sleep(){
///...
}
walk(){
//...
}
}