Return to Snippet

Revision: 6363
at May 19, 2008 11:44 by mattkenefick


Initial Code
Array.prototype._duplicate = function() {
	/*
	*  This returns a duplicate of the array
	*/
	var newAry:Array = new Array();
	var ary_length = this.length;
	for (var i=0;i < ary_length; ++i){
		newAry.push( this[i] );
	}

	return newAry;
}// End Function

Initial URL

                                

Initial Description

                                

Initial Title
Array: Duplicate

Initial Tags
array

Initial Language
ActionScript