src/libs/bobject.js
function (i) {
        var oldVal = this.array[i];
        this.array.splice(i, 1);
        this.set('length', this.array.length);
        events.trigger(this, 'remove_at', i, oldVal);

        return oldVal;
    }
function (i) {
        var oldVal = this.array[i];
        this.array.splice(i, 1);
        this.set('length', this.array.length);
        events.trigger(this, 'remove_at', i, oldVal);

        return oldVal;
    }
function ( i ) { var oldVal = this . array [ i ] ; this . array . splice ( i , 1 ) ; this . set ( 'length' , this . array . length ) ; events . trigger ( this , 'remove_at' , i , oldVal ) ; return oldVal ; }
Remove item from the array and return it

@param {Integer} i Index to remove
@returns {*} Value that was removed
Remove item from the array and return it