You are viewing a single comment's thread. Return to all comments →
function Rectangle(a, b) { const object = { length: a, width: b, perimeter: 2 * (a + b), area: a * b, }; return object; }
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 →