happy-dom
Version:
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
17 lines • 348 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
/**
* DOMRectList.
*/
class DOMRectList extends Array {
/**
* Returns item by index.
*
* @param index Index.
*/
item(index) {
return this[index] ?? null;
}
}
exports.default = DOMRectList;
//# sourceMappingURL=DOMRectList.cjs.map
;