SplayTree.prototype.findMaximum = function () {
    if (!this.root) {
      return undefined;
    }