Rectangle Class in OOP in JavaScript
Create a class Rectangle, in which the width and height of the rectangle will be written in the properties.
In the Rectangle class, create a getSquare method that will return the area of this rectangle.
In the Rectangle class, create a getPerimeter method that will return the perimeter of this rectangle.
In the Rectangle class, create a getRatio method that will return the area divided by the perimeter.