Creates an in-memory Memento with get/update/delete-by-undefined semantics. There is no persistence or cross-window propagation; _storage is exposed as a test hook.
_storage
Test hook: the backing map, for asserting on stored state directly.
Present on both workspaceState and globalState; only the latter is part of the real API.
workspaceState
globalState
Optional
Creates an in-memory Memento with get/update/delete-by-undefined semantics. There is no persistence or cross-window propagation;
_storageis exposed as a test hook.