• + 0 comments
    function Rectangle(a, b) {
       const rectangle = {
          length: a,
          width: b ,
          perimeter : 2 * (a + b),
          area : a * b
          };
          
        return rectangle
    }