span><span class="punctuation">;</span>
<span class="comment">// -> {open: true, employees: 3}</span>
</code></pre><p>This example sets the data of a <a href="/api/the-essentials/creating-stores/store/"><code>Store</code></a> with the results of a function.</p><pre><code><span class="keyword">import</span> <span class="punctuation">{</span>createStore<span class="punctuation">}</span> <span class="keyword">from</span> <span class="string">'tinybase'</span><span class="punctuation">;</span>

<span class="key