code: function performTermOperationOnEquation(equation, op, term, changeType) {
    const oldEquation = equation.clone();
  
    const leftTerm = clone(term);
    const rightTerm = clone(term);
    const leftNode = performTermOperationOnExpression(
      equation.leftNode, op, leftTerm);
    const rightNode = performTermOperationOnExpression(
      equation.rightNode, op, rightTerm);
  
    let comparator = equation.comparator;
    if (Negative.isNegative(term) && (op === '*' || op === '/')) {
      comparator = COMPARATOR_TO_INVERSE[comparator];
    }
  
    const newEquation = new Equation(leftNode, rightNode, comparator);
    return new EquationStatus(changeType, oldEquation, newEquation);
  }
docs: Modifies the left and right sides of an equation by `op`-ing `term` to both sides. Returns an Status object.