학습기록📜 생성자 함수🟡 생성자 함수란? 👉🏻 객체를 생성할 때 사용하는 함수 👉🏻 생성자 함수는 대문자로 시작한다는 암묵적 약속 존재 👉🏻 함수의 매개 변수를 활용할 수 있다 👉🏻 객체를 생성할 때 new 키워드를 사용한다.function Shape(width, height) { //this = {} this.width = width this.height = height // return this}Shape.prototype.getArea = function () { return this.width * this.height}//프로토타입에 넣어서 가져다 쓰고 싶을때 쓰면 됨const rect1 = new Shape(10, 10)console.log(rect1) // Shape..