yarnmiyarnmi.hashnode.dev·Oct 29, 2023what is static members in class?static members 용도 static 변수들은 클래스의 instance가 아니라 클래스에 속하게 된다. 따라서 인스턴스 생성과 관련이 없고, 클래스 이름으로 접근해야 한다. static 멤버들은 클래스의 모든 인스턴스 사이에서 공유된다. 코드 예시 class Person { firstName: string; lastName: string; age: number; constructor(firstName: strin...classAdd a thoughtful commentNo comments yetBe the first to start the conversation.