ok.js
function (items) {
		var args = slice(items);
		args.unshift(0);
		this.empty();
		this.insert.apply(this, args);
		return this.length;
	}
function (items) {
		var args = slice(items);
		args.unshift(0);
		this.empty();
		this.insert.apply(this, args);
		return this.length;
	}
function ( items ) { var args = slice ( items ) ; args . unshift ( 0 ) ; this . empty ( ) ; this . insert . apply ( this , args ) ; return this . length ; }
Set the contents of this array. Empties it first.
@param {Array} items New contents of array
@return {int} New length after items have been added
@fires remove
@fires add
Set the contents of this array . Empties it first .