class类还不支持私有方法吗?发布于 6 年前作者 ljiang7276 次浏览最后编辑 6 年前来自 askclass Test{ constructor(){ Test.#private();//无法使用 } static #private() { console.log(1) } }