</a></h4>
<p><code>stream()</code> returns a stream. At its most basic level, a stream works similar to a variable or a getter-setter property: it can hold state, which can be modified.</p>
<pre><code class="lang-javascript">var username = stream(&quot;John&quot;)
console.log(username()) // logs &quot;John&quot;

username(&quot;John Doe&quot;)
console.log(username()) // logs &quot;John Doe&quot;
</code></pre>
<p>The main difference is that a stream is a function, and therefore can be composed into higher or