window.sharedStorage.clear().then(() => console.log("Shared storage cleared"));SharedStorage: clear() method / notebook
SharedStorage: clear() method
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.