You are viewing a single comment's thread. Return to all comments →
function Rectangle(a, b) { this.length=a this.width=b this.perimeter=2*(a+b) this.area=a*b }
Seems like cookies are disabled on this browser, please enable them to open this website
Day 4: Create a Rectangle Object
You are viewing a single comment's thread. Return to all comments →
function Rectangle(a, b) { this.length=a this.width=b this.perimeter=2*(a+b) this.area=a*b }