toArray( array = [], offset = 0 ) {

		array[ offset ] = this.x;
		array[ offset + 1 ] = this.y;

		return array;

	}
Writes the components of this vector to the given array. If no array is provided,
the method returns a new instance.

@param {Array<number>} [array=[]] - The target array holding the vector components.
@param {number} [offset=0] - Index of the first element in the array.
@return {Array<number>} The vector components.