```
function Rectangle(height, width) {
this.height = height;
this.width = width;
this.calcArea = function() {
return this.height * this.width;
};
// put our perimeter function here!
function Rectangle(height, width) {
this.height = height;
this.width = width;
this.calcPerimeter = function() {
return 2 * (this.height + this.width);
};
}
var rex = new Rectangle(7,3);
var area = rex.calcArea();
var perimeter = rex.calcPerimeter();
```

Someone please explain what's wrong with this rectangle's formula?

Thanks!