(value)
| 371 | } |
| 372 | |
| 373 | #getAccessValue(value) { |
| 374 | const accessIndex = this.#accesses.length; |
| 375 | let accessValue; |
| 376 | if (this.#onceValues.has(accessIndex)) { |
| 377 | accessValue = this.#onceValues.get(accessIndex); |
| 378 | this.#onceValues.delete(accessIndex); |
| 379 | } else { |
| 380 | accessValue = value; |
| 381 | } |
| 382 | return accessValue; |
| 383 | } |
| 384 | |
| 385 | /** |
| 386 | * Sets a value to be used only for the next access (get or set), or a specific access index. |
no test coverage detected