code: function getDenominatorList(denominator) {
    let node = denominator;
    const denominatorList = [];
    while (node.op === '/') {
      // unshift the denominator to the front of the list, and recurse on
      // the numerator
      denominatorList.unshift(node.args[1]);
      node = node.args[0];
    }
    // unshift the final node, which wasn't a / node
    denominatorList.unshift(node);
    return denominatorList;
  }
docs: Given a the denominator of a division node, returns all the nested denominator nodess. e.g. 2/3/4/5 would return [2,3,4,5] (note: all the numbers in the example are actually constant nodes)