packages/solver/lib/simplifyExpression/fractionsSearch/addConstantFractions.js
function addNumeratorsTogether(node) {
  const newNode = clone(node);

  newNode.args[0] = Node.Creator.constant(newNode.args[0].eval());
  return Node.Status.nodeChanged(
    ChangeTypes.ADD_NUMERATORS, node, newNode);
}
function addNumeratorsTogether(node) {
  const newNode = clone(node);

  newNode.args[0] = Node.Creator.constant(newNode.args[0].eval());
  return Node.Status.nodeChanged(
    ChangeTypes.ADD_NUMERATORS, node, newNode);
}
function addNumeratorsTogether ( node ) { const newNode = clone ( node ) ; newNode . args [ 0 ] = Node . Creator . constant ( newNode . args [ 0 ] . eval ( ) ) ; return Node . Status . nodeChanged ( ChangeTypes . ADD_NUMERATORS , node , newNode ) ; }
Given a node with a numerator that is an addition node, will add all the numerators and return the result
Given a node with a numerator that is an addition node will add all the numerators and return the result