function Vector(x, y) {
    if (!(this instanceof Vector)) {
        return new Vector(x, y);
    }
    this.x = x || 0;
    this.y = y || 0;
}
/**
 * Vector
 * This class is divide in two types of methods, creation and operations.
 * Creation methods will create or change the values of this vector.
 * Operations will calculate this vector.
 * @param {number} x - X position.
 * @param {number} y - Y position.
 */
Vector
This class is divide in two types of methods, creation and operations.
Creation methods will create or change the values of this vector.
Operations will calculate this vector.
@param {number} x - X position.
@param {number} y - Y position.
Vector This class is divide in two types of methods creation and operations . Creation methods will create or change the values of this vector . Operations will calculate this vector . @param { number } x - X position . @param { number } y - Y position .
function Vector(x, y) {
    if (!(this instanceof Vector)) {
        return new Vector(x, y);
    }
    this.x = x || 0;
    this.y = y || 0;
}
function Vector ( x , y ) { if ( ! ( this instanceof Vector ) ) { return new Vector ( x , y ) ; } this . x = x || 0 ; this . y = y || 0 ; }
Vector
 This class is divide in two types of methods, creation and operations.
Vector This class is divide in two types of methods creation and operations .