code: function () {
              var f = {};
  
              f.valueOf = function () {
                  return +n;
              };
  
              f.text = String(goodFrac(n) || n);
  
              return f;
          }
docs: .constant() Converts a given number into an object that tries to express the number using e, pi, or as a fraction. For comparison, use +fraction === myNum i.e. (+constant(4)) === 4 is true ( constant(4)) === 4 is false