()
| 620 | */ |
| 621 | export class FakeStorage { |
| 622 | constructor() { |
| 623 | /** @const {!{[key: string]: string}} */ |
| 624 | this.values = {}; |
| 625 | |
| 626 | // Length. |
| 627 | Object.defineProperty(this, 'length', { |
| 628 | get: () => Object.keys(this.values).length, |
| 629 | }); |
| 630 | } |
| 631 | |
| 632 | /** |
| 633 | * @param {number} n |
nothing calls this directly
no outgoing calls
no test coverage detected