B2G/gaia/apps/sms/js/utils.js
// 7 digit comparison is safe.
7 digit comparison is safe.
7 digit comparison is safe .
function ut_compareDialables(a, b) {
      a = Utils.removeNonDialables(a).slice(-7);
      b = Utils.removeNonDialables(b).slice(-7);
      return a === b;
    }
function ut_compareDialables ( a , b ) { a = Utils . removeNonDialables ( a ) . slice ( - 7 ) ; b = Utils . removeNonDialables ( b ) . slice ( - 7 ) ; return a === b ; }
7 digit comparison is safe.
7 digit comparison is safe .