I\'m checking some variables from localStorage before continuing my script. First this:
const hasStorageValue = typeof storageValue === \'string\'