객체지향 기존 함수 Person, 즉 constructor function이 하는 일은 두 가지다. 객체를 만든다 -> new를 사용하여. ex)new Person() 이걸 constructor라고 한다. 객체의 초기상태를 정의한다. 객체를 만드는 것. ![](