JS .splice() on object array
<p>Why do i always get "... .splice() is not a function" when using it on arrays with objects??</p>

<p>Does indeed work with numbers, but I need it with objects.</p>

<p><a href="https://jsfiddle.net/a1nq1p73/1/" rel="nofollow">https://jsfiddle.net/a1nq1p73/1/</a></p>

<pre><code>arrayWithObjects.splice(0,1); // "TypeError: ... not a function"
</code></pre>

<p>I am trying to rearrange sections (<code>position:absolute</code>) by their <code>left</code> property.</p>