class Chef{ constructor(food){ this.food = food; thid.dish = []; } //getter get menu(){ return this.dish } //setter set menu(dish){ this.dish.push(dish) } staitc cook(food){ console.log(this.food) } } Chef.cook('tomato') //tomato