class A { static q = 1; static w (){ return 'w' } e(){ // 请问这里如何拿到和调用 q 和 w // this. } }
class A { static q = 1; static w (){ return 'w' } e(){ // 静态成员直接通过类名来使用 console(A.q) A.w() } }
1.4m articles
1.4m replys
5 comments
56.9k users