// AclassA {// ⭐️ nested type: A.Bstatic B =class {// 🟦 static methodstaticsayHi() { console.log('Hi') }// 🔹 instance methodinstanceSayHi() { console.log('Hi, I am an instance of A.B !') } };}// test codeA.B.sayHi(); // Hi(newA.B).instanceSayHi(); // Hi, I am an instance of A.B !