Note: This feature is available in Web Workers.
The width read-only property of the DOMRectReadOnly interface represents the width of the DOMRect.
width
DOMRectReadOnly
DOMRect
A double.