(myContext)
f(context: myContext)
</pre>

<p>Or it can receive context via a dynamic variable:</p>

<pre>
_context = myContext
...
f()
</pre>

<p>The dynamic variable does not need to be set in the same function as the call, it can be set in anywhere in the sequence of calls leading here.</p>

<p>Default values can still be supplied. The default value is only used if no argument is passed and no dynamic variable is found.</p>
<pre>
f = function (_p = 0) { return p }
f()
    => 0
f(123)
    => 123
_p = 456
f