Introducing Radical.sh

Forget Code launches a powerful code generator for building API's

removeAt - Removes the element specified by Index in JavaScript

removeAt is custom javascript function which removes the array element specified by the index.
<script type="text/javascript">
var x = new Array(2,3,4);

Array.prototype.removeAt = function (iIndex){
    var vItem = this[iIndex];
    if (vItem) {
        this.splice(iIndex, 1);
    }
    return vItem;
};

x.removeAt(0);
document.write(x);
</script>

Output
3,4