code: function sanitizeOperatorPosition(opPosition) {
              opPosition = opPosition || OPERATOR_POSITION.before_newline;
  
              var validPositionValues = Object.values(OPERATOR_POSITION);
  
              if (!in_array(opPosition, validPositionValues)) {
                  throw new Error("Invalid Option Value: The option 'operator_position' must be one of the following values\n" +
                      validPositionValues +
                      "\nYou passed in: '" + opPosition + "'");
              }
  
              return opPosition;
          }
docs: function rtrim(s) { return s.replace(/\s+$/g, ''); }