src/array.js
function remove( arr, searchElement, fromIndex ){
	var pos = arr.indexOf( searchElement, fromIndex );

	if ( pos > -1 ){
		return arr.splice( pos, 1 )[0];
	}
}
function remove( arr, searchElement, fromIndex ){
	var pos = arr.indexOf( searchElement, fromIndex );

	if ( pos > -1 ){
		return arr.splice( pos, 1 )[0];
	}
}
function remove ( arr , searchElement , fromIndex ) { var pos = arr . indexOf ( searchElement , fromIndex ) ; if ( pos > - 1 ) { return arr . splice ( pos , 1 ) [ 0 ] ; } }
Search an array for an element and remove it, starting at the begining or a specified location

@function remove
@param {array} arr An array to be searched
@param {*} searchElement Content for which to be searched
@param {integer} fromIndex The begining index from which to begin the search, defaults to 0
@return {array} array containing removed element
Search an array for an element and remove it starting at the begining or a specified location