to remove first and last element in array using jquery
<p>How to remove first and last element in an array using jquery</p>

<p>Example:</p>

<pre><code>var fruits = ["Banana", "Orange", "Apple", "Mango"];
</code></pre>

<p>My Expected output:</p>

<pre><code>Orange,Apple
</code></pre>
