in lib/index.js [63:70]
_checkIndex(index) { if (!isInteger(index)) { throw new Error('Invalid index'); } if (index < 0 || index >= this._maxVal) { throw new Error('Index out of range'); } }