function Circle (radius) {

this.radius = radius;

this.area = function () {

return Math.PI * this.radius * this.radius;

}

};

// define a perimeter method here

function Circle (perimeter) {

this.perimeter = perimeter;

this.perimeter = function() {

return Math.PI * 2 * this.radius;

}

};

I have no clue what I'm doing. I'm not even getting a number back so could someone point me in the right direction? Also heres the error code if it helps.

Oops, try again.

Your perimeter method fails on a Circle with radius 1 where it returns NaN when it should return 6.283185307179586