function accessorArray() {
	var arr = [ 1, 2, 3, 4 ];
	arr.set = set;
	arr.get = get;
	return arr;

	/**
	* Returns an array element.
	*
	* @private
	* @param {NonNegativeInteger} idx - index
	* @returns {number} element
	*/
	function get( idx ) {
		return arr[ idx ];
	}

	/**
	* Sets an array element.
	*
	* @private
	* @param {number} value - value to set
	* @param {NonNegativeInteger} idx - index
	*/
	function set( value, idx ) {
		arr[ idx ] = value;
	}
}
Returns an accessor array-like object.

@private
@returns {ArrayLikeObject} array-like object