toJSON
The toJSON() method of the DOMRectReadOnly interface returns a JSON-serializable plain object representing the DOMRectReadOnly object.
The toJSON() method of the DOMRectReadOnly interface returns a JSON-serializable plain object representing the DOMRectReadOnly object.