Write a class called Rectangle that represents a rectangular two-dimensional region. It should have the following constructor:
constructor(x, y, width, height)It should have the following properties:
x
y
width
heightIt should have the following methods:
toString()[x=1, y=2, width=3, height=4].