class="punctuation">;</span>
sessionStorage<span class="punctuation">.</span><span class="function"><a href="/api/checkpoints/interfaces/checkpoints/checkpoints/methods/lifecycle/clear/">clear</a></span><span class="punctuation">(</span><span class="punctuation">)</span><span class="punctuation">;</span>
</code></pre><p>This example creates a <a href="/api/the-essentials/creating-stores/store/"><code>Store</code></a>, and automatically saves and loads it to the browser&#x27;s session storage as a JSON strin