last() {
        let key = this.getLastKey();
        if (key === null) {
            return null;
        }
        return this[key];
    }
Get the last value
@returns {V|null} The last element without removing it, or null if the array is empty