The width read-only property of the DOMRectReadOnly interface represents the width of the DOMRect.
width
MDN Reference