docs: function nextId() {
      var maxId = 0;
      for (var i = 0; i < comments.length; i++) {
        var comment = comments[i];
        if (maxId < comment.id) {
          maxId = comment.id;
        }
      }
      return maxId + 1;
    }