You are viewing a single comment's thread. Return to all comments →
Here's my submission:
function Rectangle(a, b) { return { length: a, width: b, perimeter: 2 * ( a + b ), area: a * b } }
Day 4: Create a Rectangle Object
You are viewing a single comment's thread. Return to all comments →
Here's my submission: