(element)
| 111 | } |
| 112 | |
| 113 | unobserve(element) { |
| 114 | if (!this.elements.includes(element)) { |
| 115 | throw new Error('not observed'); |
| 116 | } |
| 117 | removeItem(this.elements, element); |
| 118 | } |
| 119 | |
| 120 | notify(entries) { |
| 121 | const {callback} = this; |
no test coverage detected