function someClass(){
}
someClass.prototype.CONST = 'Some Constant.';
console.log('with Obj : '+(new someClass).CONST);
console.log('without Obj : '+someClass.CONST);
첫 번째액세스 개체 인스턴스를 만들지 않고 프로토 타입 속성
내가 비슷한 찾고 있어요 개체 인스턴스를 생성하지 않고 CONST
에 액세스 할 수있는 방법이 지금 정답, 정의되지 않은 두 번째 반환 을 제공합니다 자바 클래스