The width property of the DOMRect interface represents the width of the rectangle. The value can be negative.
width
MDN Reference