code: function hypot( a, b ) {
  		if ( !isNumeric( a ) || !isNumeric( b ) ) {
  			throw new TypeError( 'hypot()::invalid input argument. Input arguments must be numeric.' );
  		}
  		var min, max, r;
  		a = Math.abs( a );
  		b = Math.abs( b );
  		if ( a > b ) {
  			min = b;
  			max = a;
  		} else  {
  			min = a;
  			max = b;
  		}
  		r = min / max;
  		return max * Math.sqrt( 1 + r*r );
  	}
docs: HYPOT // 
  FUNCTION: hypot( a, b )
  Computes the hypotenuse of a right triangle.
  
  @param {Number} a - length of one side of triangle
  @param {Number} b - length of other side of a triangle
  @returns {Number} hypotenuse