code: function(n) {
        if (n == Infinity) {
          return 'Infinity';
        } else if (n > 1e9) {
          n = Math.round(n/1e8);
          return n/10 + 'B';
        } else if (n > 1e6) {
          n = Math.round(n/1e5);
          return n/10 + 'M';
        } else if (n > 1e3) {
          n = Math.round(n/1e2);
          return n/10 + 'K';
        }
        return n;
      }
docs: Convert a number to an abbreviated string like, "15K" or "10M"