We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Day 4: Create a Rectangle Object
Day 4: Create a Rectangle Object
Sort by
recency
|
122 Discussions
|
Please Login in order to post a comment
function Rectangle(a, b) { this.length=a; this.width = b; this.perimeter = 2*(a+b) this.area = a*b }