ES6中 class成员函数单独使用或回调时找不到this的问题 class Logger{ constructor() { this.x=1; //利用bind使getX单独使用时也能使用th 2019年5月10日 20:05