ES6基础之——静态方法staitc 在类里面添加静态方法可以使用staitc这个关键字,staitc就是不需要实例化类就可以使用的方法 class Chef{ constructor(food){ ...