docs: function(key, value) {
      if (typeof key !== 'string') {
        throw new TypeError('item key must be a string.');
      }
      if (typeof value === 'undefined') {
        return this.getItem(key);
      }
      this.addItem(key, value);
      return value;
    }