Method
constructor
(globalObject, args, privateData)
Source from the content-addressed store, hash-verified
| 5 | |
| 6 | exports.implementation = class HTMLCollectionImpl { |
| 7 | constructor(globalObject, args, privateData) { |
| 8 | this._list = []; |
| 9 | this._version = -1; |
| 10 | this._element = privateData.element; |
| 11 | this._query = privateData.query; |
| 12 | |
| 13 | this._globalObject = globalObject; |
| 14 | |
| 15 | this._update(); |
| 16 | } |
| 17 | get length() { |
| 18 | this._update(); |
| 19 | return this._list.length; |
Callers
nothing calls this directly
Tested by
no test coverage detected