complex.js
function(a, b) {

      var z = new Complex(a, b);

      return Math.abs(z['re'] - this['re']) <= Complex['EPSILON'] &&
              Math.abs(z['im'] - this['im']) <= Complex['EPSILON'];
    }
function(a, b) {

      var z = new Complex(a, b);

      return Math.abs(z['re'] - this['re']) <= Complex['EPSILON'] &&
              Math.abs(z['im'] - this['im']) <= Complex['EPSILON'];
    }
function ( a , b ) { var z = new Complex ( a , b ) ; return Math . abs ( z [ 're' ] - this [ 're' ] ) <= Complex [ 'EPSILON' ] && Math . abs ( z [ 'im' ] - this [ 'im' ] ) <= Complex [ 'EPSILON' ] ; }
Compares two complex numbers

**Note:** new Complex(Infinity).equals(Infinity) === false

@returns {boolean}
Compares two complex numbers