Personal taste... I like eliminating variables wherever possible. So the whole fn becomes:
```
return this.set(this.capToSize(this.config.maxSize -1).unshift(new HistoryItem(item))