code: function reduceExponentByZero(node) {
    if (node.op !== '^') {
      return Node.Status.noChange(node);
    }
    const exponent = node.args[1];
    if (Node.Type.isConstant(exponent) && exponent.value === '0') {
      const newNode = Node.Creator.constant(1);
      return Node.Status.nodeChanged(
        ChangeTypes.REDUCE_EXPONENT_BY_ZERO, node, newNode);
    }
    else {
      return Node.Status.noChange(node);
    }
  }
docs: If `node` is an exponent of something to 0, we can reduce that to just 1. Returns a Node.Status object.