(domain, key)
| 15 | } |
| 16 | |
| 17 | static get(domain, key) { |
| 18 | let result = Preference.#cache[domain]?.[key]; |
| 19 | |
| 20 | if (result && ("object" === typeof result)) |
| 21 | result = Uint8Array.from(result.buffer.split(",")).buffer; |
| 22 | |
| 23 | return result; |
| 24 | } |
| 25 | |
| 26 | static delete(domain, key) { |
| 27 | if (Preference.#cache[domain]?.[key] !== undefined) { |