Knockout not observable array length inside if block
<p>I have one 'not observable' array of objects in view-model and I want to render some div-s according to the array.</p>

<pre><code>&lt;div data-bind="foreach: sequences"&gt;
    &lt;!-- ko if: $parent.sequences.length-1 &gt; $index --&gt;
        &lt;div&gt;Some content &lt;/div&gt;
    &lt;!-- /ko --&gt;        
&lt;/div&gt;
</code></pre>

<p>Code above should render div for all elements except the last one, but it does not work, I did not get any error, I do know what is happening ?</p>