/span> foldRight</span> : <code class="type">('a -> 'b -> 'b [@bs]) -> 'a list -> 'b -> 'b</code></pre><div class="info ">
                    <div class="not-examples">
                    Application order is right to left
    tail-recursive.<br>
 
                    </div>
                    
                    </div>

                  
<pre><span id="VALflatten"><span class="keyword">val</span> flatten</span> : <code class="type">'a <a href="Js_list.html#TYPEt">t</a> <a href="Js_list.html#TYPEt">t</