What does it mean when -1 is used as a return value as seen in the first if statement below?
MyLinkedList.prototype.get = function(i) {
if (i < 0 || i >= this.length) return -1;
if (i + 1 === this.length) return this.tail.prev.val;
let curr = this.head.next;
while (i--) curr = curr.next;
return curr.val;
};